summaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-04-21 15:25:07 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-08-28 21:18:12 -0400
commit2d36b0fe74c982843c249351592441bc48e36b3b (patch)
tree4e04d1c4725aefddc837e2f4ae1918b93e5af9c2 /lib/test-string_helpers.c
parentc11c5e193aeaea0fa5bddb1ede19c9526670914d (diff)
mm: Count requests to free & nr freed per shrinker
The next step in this patch series for improving debugging of shrinker related issues: keep counts of number of objects we request to free vs. actually freed, and prints them in shrinker_to_text(). 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. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions