aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShakeel Butt <[email protected]>2024-04-20 16:25:05 -0700
committerAndrew Morton <[email protected]>2024-05-05 17:53:44 -0700
commit91882c1617c15eb2a4e996b0822e0b9cbd854dea (patch)
treeec1a4a35ba26774ef2934dc1e56c73c3db7d986b /tools/perf/scripts/python
parent6ed31ba3921162ef5d4f2f99b91681e8fd24ff34 (diff)
memcg: simple cleanup of stats update functions
mod_memcg_lruvec_state() is never called from outside of memcontrol.c and with always irq disabled. So, replace it with the irq disabled version and add an assert that irq is disabled in the caller. Similarly mod_objcg_state() is not called from outside of memcontrol.c, so simply make it static and change it's name to __mod_objcg_state(). Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Shakeel Butt <[email protected]> Acked-by: Johannes Weiner <[email protected]> Reviewed-by: T.J. Mercier <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Muchun Song <[email protected]> Cc: Roman Gushchin <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions