summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-10-20 13:37:32 +0100
committerDavid Sterba <dsterba@suse.com>2025-11-24 22:15:13 +0100
commit585416766d2711d0bcc328f54bff392f5e865ffa (patch)
treec18957ee6955812532fd55d8a7b7e4f05e910b8c /tools/perf/scripts/python/parallel-perf.py
parentc0d0b13d27f8cf9d5bf5adae52df8ec781fbb983 (diff)
downloadlinux-585416766d2711d0bcc328f54bff392f5e865ffa.tar.gz
linux-585416766d2711d0bcc328f54bff392f5e865ffa.zip
btrfs: reduce block group critical section in pin_down_extent()
There's no need to update the bytes_reserved and bytes_may_use fields of the space_info while holding the block group's spinlock. We are only making the critical section longer than necessary. So move the space_info updates outside of the block group's critical section. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions