percpu: migrate percpu data structures to internal header
authorDennis Zhou <dennisz@fb.com>
Mon, 19 Jun 2017 23:28:30 +0000 (19:28 -0400)
committerTejun Heo <tj@kernel.org>
Tue, 20 Jun 2017 19:31:28 +0000 (15:31 -0400)
commit8fa3ed8014ac792a4c76d585b5c0f68bd202ff6b
tree97316c47b8c92e8d39b381d38f6ee889b1d195da
parent5ccd30e40e731051f6d1eb02f7ac073c1ef9deba
percpu: migrate percpu data structures to internal header

Migrates pcpu_chunk definition and a few percpu static variables to an
internal header file from mm/percpu.c. These will be used with debugfs
to expose statistics about percpu memory improving visibility regarding
allocations and fragmentation.

Signed-off-by: Dennis Zhou <dennisz@fb.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
mm/percpu-internal.h [new file with mode: 0644]
mm/percpu.c