summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-04-05 09:07:09 +0300
committerChandan Babu R <chandanbabu@kernel.org>2024-04-22 10:23:34 +0300
commitc37d6ed87462751bc979f133a570716089fe40de (patch)
treee23228eb4e8b766d5ecf83e819f0860973b3b442 /tools/perf/scripts/python/syscall-counts.py
parente78a3ce28331583cc0b57b0602528c4d7628fc19 (diff)
downloadlinux-c37d6ed87462751bc979f133a570716089fe40de.tar.xz
xfs: unwind xfs_extent_busy_clear
The current structure of xfs_extent_busy_clear that locks the first busy extent in each AG and unlocks when switching to a new AG makes sparse unhappy as the lock critical section tracking can't cope with taking the lock conditionally and inside a loop. Rewrite xfs_extent_busy_clear so that it has an outer loop only advancing when moving to a new AG, and an inner loop that consumes busy extents for the given AG to make life easier for sparse and to also make this logic more obvious to humans. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions