summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorTimothy Day <timday@thelustrecollective.com>2026-08-11 12:03:34 -0400
committerJan Kara <jack@suse.cz>2026-09-01 15:40:36 +0200
commitd8c906454fde090a45edaf136f93aa2af720e5fa (patch)
tree2025065f7f05ceaf46061d682007f1c728fb0a35 /tools/perf/scripts/python/task-analyzer.py
parent7aa90b3c8ef8f936f7db310bc9ec60eba26cd726 (diff)
downloadlinux-d8c906454fde090a45edaf136f93aa2af720e5fa.tar.gz
linux-d8c906454fde090a45edaf136f93aa2af720e5fa.zip
ext2: annotate block-mapping helpers as requiring truncate_mutex
The indirect-block mapping helpers in inode.c all run under the inode's truncate_mutex. ext2_find_goal(), ext2_alloc_blocks(), ext2_alloc_branch() and ext2_splice_branch() are reached only from ext2_get_blocks() while it holds the mutex. ext2_find_shared(), ext2_free_data() and ext2_free_branches() are called from __ext2_truncate_blocks() while it holds the mutex. Add __must_hold() annotations for the Clang's context analysis to reflect this. Signed-off-by: Timothy Day <timday@thelustrecollective.com> Acked-by: Marco Elver <elver@google.com> Link: https://patch.msgid.link/20260811160336.782342-7-timday@thelustrecollective.com Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions