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-04 12:06:44 -0400 |
commit | f88ea47985924d946acbe46b376453fa2faa6c74 (patch) | |
tree | ecd4a7f69a609354ef919ec89c1599e0a9791cbb /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 1f6efdd52890908f2745d1b9dd387a78065d5d32 (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 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions