]> git.karo-electronics.de Git - karo-tx-linux.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)
commit30a5b5367ef9d5c9055414e12ec2f02d9de2e70f
tree900c04966e2adae51b7f833dbedcd8cbe0f828bb
parent8fa3ed8014ac792a4c76d585b5c0f68bd202ff6b
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