diff options
author | Dennis Zhou (Facebook) <dennisszhou@gmail.com> | 2017-07-16 04:23:08 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-07-17 16:46:58 +0200 |
commit | 6b9b6f39946c4a7a98fac31ee91bac43cd2b73a9 (patch) | |
tree | f6405a03492b80c36dec85a784430106d85ce82a /mm/percpu-internal.h | |
parent | percpu: change the format for percpu_stats output (diff) | |
download | linux-6b9b6f39946c4a7a98fac31ee91bac43cd2b73a9.tar.xz linux-6b9b6f39946c4a7a98fac31ee91bac43cd2b73a9.zip |
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>
Diffstat (limited to 'mm/percpu-internal.h')
-rw-r--r-- | mm/percpu-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/percpu-internal.h b/mm/percpu-internal.h index cd2442e13d8f..c9158a48ca05 100644 --- a/mm/percpu-internal.h +++ b/mm/percpu-internal.h @@ -36,6 +36,7 @@ extern spinlock_t pcpu_lock; extern struct list_head *pcpu_slot; extern int pcpu_nr_slots; +extern int pcpu_nr_empty_pop_pages; extern struct pcpu_chunk *pcpu_first_chunk; extern struct pcpu_chunk *pcpu_reserved_chunk; |