diff options
author | Matthew Cassell <mcassell411@gmail.com> | 2024-07-22 17:13:16 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-09-01 20:25:43 -0700 |
commit | 5fe690a5946442f7f2d08448341dd621367f80bc (patch) | |
tree | 3cd8f8b733ef989e743177e2e26c7044343a6e89 /lib/cmdline.c | |
parent | 431c1646e1f86b949fa3685efc50b660a364c2b6 (diff) | |
download | linux-5fe690a5946442f7f2d08448341dd621367f80bc.tar.gz linux-5fe690a5946442f7f2d08448341dd621367f80bc.tar.bz2 linux-5fe690a5946442f7f2d08448341dd621367f80bc.zip |
mm: add node_reclaim successes to VM event counters
/proc/vmstat currently shows the number of node_reclaim() failures when
vm.zone_reclaim_mode is set appropriately. It would be convenient to have
the number of successes right next to zone_reclaim_failed (similar to
compaction and migration).
While just a trivially addition to the vmstat file. It was helpful during
benchmarking to not have to probe node_reclaim() to observe the
success/failure ratio.
Link: https://lkml.kernel.org/r/20240722171316.7517-1-mcassell411@gmail.com
Signed-off-by: Matthew Cassell <mcassell411@gmail.com>
Cc: Domenico Cerasuolo <cerasuolodomenico@gmail.com>
Cc: "Huang, Ying" <ying.huang@intel.com>
Cc: Li Zhijian <lizhijian@fujitsu.com>
Cc: Yosry Ahmed <yosryahmed@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/cmdline.c')
0 files changed, 0 insertions, 0 deletions