percpu: expose pcpu_nr_empty_pop_pages in pcpu_stats
authorDennis Zhou (Facebook) <dennisszhou@gmail.com>
Sun, 16 Jul 2017 02:23:08 +0000 (22:23 -0400)
committerTejun Heo <tj@kernel.org>
Mon, 17 Jul 2017 14:46:58 +0000 (10:46 -0400)
commit6b9b6f39946c4a7a98fac31ee91bac43cd2b73a9
treef6405a03492b80c36dec85a784430106d85ce82a
parent02459164a27e6cf9577fd12fc3ebed78f8fa767f
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 <dennisszhou@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
mm/percpu-internal.h
mm/percpu-stats.c
mm/percpu.c