aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2017-11-07 11:22:54 +0200
committerDavid Sterba <dsterba@suse.com>2018-01-22 16:08:11 +0100
commit057aac3e628f38df984b419f7458455bf698eb7e (patch)
treed02029f22d73d5766c645952f0332d27fcc45560 /tools/perf/scripts/python/call-graph-from-sql.py
parentBtrfs: add __init macro to btrfs init functions (diff)
downloadlinux-057aac3e628f38df984b419f7458455bf698eb7e.tar.gz
linux-057aac3e628f38df984b419f7458455bf698eb7e.zip
btrfs: Reduce scope of delayed_rsv->lock in may_commit_trans
After commit 996478ca9c460886ac1 ("btrfs: change how we decide to commit transactions during flushing") there is no need to hold the delayed_rsv during the percpu_counter_compare call since we get the byte's snapshot earlier. So hold the lock only while reading delayed_rsv. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions