aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorYang Shi <[email protected]>2020-09-27 04:42:20 -0700
committerAnna Schumaker <[email protected]>2020-10-02 08:46:46 -0400
commit5904c16d2210b967caf66b04a0c26cfa6a7a0328 (patch)
tree95e993823ff61f1cc11099d053ae423d122c05e5 /tools/perf/util/scripting-engines/trace-event-perl.c
parentb4868b44c5628995fdd8ef2e24dda73cef963a75 (diff)
fs: nfs: return per memcg count for xattr shrinkers
The list_lru_count() returns the pre node count, but the new xattr shrinkers are memcg aware, so the shrinkers should return per memcg count by calling list_lru_shrink_count() instead. Otherwise over-shrink might be experienced. The problem was spotted by visual code inspection. Cc: Trond Myklebust <[email protected]> Cc: Anna Schumaker <[email protected]> Cc: Frank van der Linden <[email protected]> Signed-off-by: Yang Shi <[email protected]> Reviewed-by: Frank van der Linden <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions