aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHui Su <[email protected]>2020-12-14 19:03:47 -0800
committerLinus Torvalds <[email protected]>2020-12-15 12:13:37 -0800
commit7714304f3ba16af9cf52952d182d031d04b62d6d (patch)
tree70b66cbd76071daddd130d6e33e9910cf783e167 /tools/perf/scripts/python/stackcollapse.py
parenta86ecfa6a873e42286398b2a594cfa9e4ec10322 (diff)
mm/slab_common.c: use list_for_each_entry in dump_unreclaimable_slab()
dump_unreclaimable_slab() acquires the slab_mutex first, and it won't remove any slab_caches list entry when itering the slab_caches lists. Thus we do not need list_for_each_entry_safe here, which is against removal of list entry. Link: https://lkml.kernel.org/r/20200926043440.GA180545@rlk Signed-off-by: Hui Su <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: David Rientjes <[email protected]> Cc: Joonsoo Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions