summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-10-23 15:24:22 +0300
committerDavid Sterba <dsterba@suse.com>2025-11-25 00:16:27 +0300
commitcdf8a566eeef0c28a082dcdfb5d91e964029d6c3 (patch)
tree65296b3b8ed9c2952ce9141c131d80c6a8c2b157 /tools/perf/scripts/python
parent8b6e1f5dcef97c8336a011c52384c0eb39691a43 (diff)
downloadlinux-cdf8a566eeef0c28a082dcdfb5d91e964029d6c3.tar.xz
btrfs: add data_race() in btrfs_account_ro_block_groups_free_space()
Surround the intentional empty list check with the data_race() annotation so that tools like KCSAN don't report a data race. The race is intentional as it's harmless and we want to avoid lock contention of the space_info since its lock is heavily used (space reservation, space flushing, extent allocation and deallocation, etc). Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions