percpu: expose pcpu_nr_empty_pop_pages in pcpu_stats

Percpu memory holds a minimum threshold of pages that are populated
in order to serve atomic percpu memory requests. This change makes it
easier to verify that there are a minimum number of populated pages
lying around.

Signed-off-by: Dennis Zhou <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
This commit is contained in:
Dennis Zhou (Facebook) 2017-07-15 22:23:08 -04:00 • committed by Tejun Heo
commit 6b9b6f3994
3 changed files with 3 additions and 1 deletions

View file

@ -164,6 +164,7 @@ alloc_buffer:
PU(nr_max_chunks);
PU(min_alloc_size);
PU(max_alloc_size);
P("empty_pop_pages", pcpu_nr_empty_pop_pages);
seq_putc(m, '\n');
#undef PU