]> git.baikalelectronics.ru Git - kernel.git/commit
percpu: expose statistics about percpu memory via debugfs
authorDennis Zhou <dennisz@fb.com>
Mon, 19 Jun 2017 23:28:31 +0000 (19:28 -0400)
committerTejun Heo <tj@kernel.org>
Tue, 20 Jun 2017 19:31:38 +0000 (15:31 -0400)
commit46d2606fb62226c79e79d71448b07216cbc49471
tree900c04966e2adae51b7f833dbedcd8cbe0f828bb
parent272916a9f67b8d386512d55e622125d9d2aadcec
percpu: expose statistics about percpu memory via debugfs

There is limited visibility into the use of percpu memory leaving us
unable to reason about correctness of parameters and overall use of
percpu memory. These counters and statistics aim to help understand
basic statistics about percpu memory such as number of allocations over
the lifetime, allocation sizes, and fragmentation.

New Config: PERCPU_STATS

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