summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2026-05-04 02:49:20 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2026-06-05 00:34:55 -0400
commitb9c505cbf4acd6f9fa5ebe183f434b72ac3199f7 (patch)
tree6b9cae55fb4bd812740c0c02c698a5cd472cac86 /tools/perf/scripts/python/stackcollapse.py
parent67132b5e5de8a01493ddbb217e936415ca4e09af (diff)
d_prune_aliases(): make sure to skip NORCU aliases
Either they are busy (in which case they won't be moved to shrink list anyway) or they have a zero refcount, in which case we really shouldn't mess with them - whoever had dropped the refcount to zero is on the way to evicting and freeing them. That way we are guaranteed that only the thread that has dropped refcount of NORCU dentry to zero might call lock_for_kill() and __dentry_kill() for those. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions