aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2024-06-03 13:30:35 +0100
committerDavid Sterba <[email protected]>2024-07-11 15:33:23 +0200
commitac1f580c10f31063ce9dae840d3499d41e3854ce (patch)
tree408d8b03828934d278ff4b084b7fba01d0f89123 /tools/perf/scripts/python/mem-phys-addr.py
parent03103ecf5ec95743615113e5d2d8feb8d1a42859 (diff)
btrfs: reduce critical section at btrfs_wait_ordered_extents()
At btrfs_wait_ordered_extents(), there's no point in updating the counters after locking the root's ordered extent lock, as the counters are local. So change this to update the counters before taking the lock. Reviewed-by: Josef Bacik <[email protected]> Reviewed-by: Qu Wenruo <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions