Thread (7 messages) 7 messages, 4 authors, 2018-08-07

Re: [PATCH] proc: add percpu populated pages count to meminfo

flat view

From: Dennis Zhou <hidden>
Date: 2018-08-07 15:22:15
Also in: lkml

Hi Tejun,

On Tue, Aug 07, 2018 at 08:11:46AM -0700, Tejun Heo wrote:
Hello,

On Tue, Aug 07, 2018 at 02:12:06PM +0000, Christopher Lameter wrote:
quoted
quoted
@@ -121,6 +122,7 @@ static int meminfo_proc_show(struct seq_file *m, void *v)
 		   (unsigned long)VMALLOC_TOTAL >> 10);
 	show_val_kb(m, "VmallocUsed:    ", 0ul);
 	show_val_kb(m, "VmallocChunk:   ", 0ul);
+	show_val_kb(m, "PercpuPopulated:", pcpu_nr_populated_pages());
Populated? Can we avoid this for simplicities sake: "Percpu"?

We do not count pages that are not present elsewhere either and those
counters do not have "populated" in them.
Yeah, let's do "Percpu".
Sounds good, I've dropped populated.

Thanks,
Dennis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help