]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit272916a9f67b8d386512d55e622125d9d2aadcec
tree97316c47b8c92e8d39b381d38f6ee889b1d195da
parented5a69786f6d7ab2364bb368ca2fc98df9b5cc4e
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