summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorShakeel Butt <shakeel.butt@linux.dev>2025-04-03 18:39:10 -0700
committerAndrew Morton <akpm@linux-foundation.org>2025-05-11 17:48:11 -0700
commitae51c775aa2b1fd4fbaf781740ec8762292bec3a (patch)
tree45bf6372316b5aabf8ab53a944a526ae626899c5 /tools/perf/scripts/python/exported-sql-viewer.py
parentb6d0471117daec360bad2b881c1e2d0f4d2c4d3b (diff)
downloadlinux-ae51c775aa2b1fd4fbaf781740ec8762292bec3a.tar.gz
linux-ae51c775aa2b1fd4fbaf781740ec8762292bec3a.zip
memcg: do obj_cgroup_put inside drain_obj_stock
Previously we could not call obj_cgroup_put() inside the local lock because on the put on the last reference, the release function obj_cgroup_release() may try to re-acquire the local lock. However that chain has been broken. Now simply do obj_cgroup_put() inside drain_obj_stock() instead of returning the old objcg. Link: https://lkml.kernel.org/r/20250404013913.1663035-7-shakeel.butt@linux.dev Signed-off-by: Shakeel Butt <shakeel.butt@linux.dev> Reviewed-by: Roman Gushchin <roman.gushchin@linux.dev> Acked-by: Vlastimil Babka <vbabka@suse.cz> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Michal Hocko <mhocko@kernel.org> Cc: Muchun Song <muchun.song@linux.dev> Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions