diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-22 18:17:06 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-01 00:20:01 -0400 |
commit | e93d964d9b1d1c0d65e3dcba527f3ba5abe26455 (patch) | |
tree | 69e7c8705a429bc4c32fdb29016acd8abeca7676 /scripts/bpf_doc.py | |
parent | ea00add079d2e4b6c03cc6cbb12ca5090172f75b (diff) |
mm: shrinker: Add new stats for .to_text()
Add a few new shrinker stats.
number of objects requested to free, number of objects freed:
Shrinkers won't necessarily free all objects requested for a variety of
reasons, but if the two counts are wildly different something is likely
amiss.
.scan_objects runtime:
If one shrinker is taking an excessive amount of time to free
objects that will block kswapd from running other shrinkers.
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Qi Zheng <zhengqi.arch@bytedance.com>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: linux-mm@kvack.org
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions