summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-11-22 18:17:06 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2025-07-01 22:42:20 -0400
commit34c9b870032d77135b496035bbc80f47b82dbf7c (patch)
tree8af490ba038f92b61ce8d2a395bfeadda073e17b /scripts/gdb/linux/utils.py
parent1a4c937f8d584acc0d411eadfd7ea7e14dee8c84 (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/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions