aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorNiels Dossche <dossche.niels@gmail.com>2022-03-03 01:38:39 +0100
committerDavid Sterba <dsterba@suse.com>2022-03-14 13:13:53 +0100
commitbf7bd725b022cca0195aa81a378a82b1e731a4a3 (patch)
treeafd8412a8ccc3f0181546f72112b71b804fcf1e6 /tools/perf/scripts/python/mem-phys-addr.py
parent3777369ff1518b579560611a0d0c33f930154f64 (diff)
btrfs: add lockdep_assert_held to need_preemptive_reclaim
In a previous patch ("btrfs: extend locking to all space_info members accesses") the locking for the space_info members was extended in btrfs_preempt_reclaim_metadata_space because not all the member accesses that needed locks were actually locked (bytes_pinned et al). It was then suggested to also add a call to lockdep_assert_held to need_preemptive_reclaim. This function also works with space_info members. As of now, it has only two call sites which both hold the lock. Suggested-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Niels Dossche <dossche.niels@gmail.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions