From 6b9b6f39946c4a7a98fac31ee91bac43cd2b73a9 Mon Sep 17 00:00:00 2001 From: Dennis Zhou (Facebook) Date: Sat, 15 Jul 2017 22:23:08 -0400 Subject: 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 Signed-off-by: Tejun Heo --- mm/percpu-stats.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mm/percpu-stats.c') diff --git a/mm/percpu-stats.c b/mm/percpu-stats.c index fa0f5de26c68..44e561d3ab47 100644 --- a/mm/percpu-stats.c +++ b/mm/percpu-stats.c @@ -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 -- cgit v1.2.3-55-g7522