diff options
| author | Bart Van Assche <[email protected]> | 2017-04-07 11:16:49 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2017-04-07 12:45:47 -0600 |
| commit | 705cda97ee3abb6ea38d651b54f4da83c2bb2a4a (patch) | |
| tree | fdc8eae0529160e721890e586080ae4d40163d7a /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | d945a365a0686a37618503622954f8dc169b8bca (diff) | |
blk-mq: Make it safe to use RCU to iterate over blk_mq_tag_set.tag_list
Since the next patch in this series will use RCU to iterate over
tag_list, make this safe. Add lockdep_assert_held() statements
in functions that iterate over tag_list to make clear that using
list_for_each_entry() instead of list_for_each_entry_rcu() is
fine in these functions.
Signed-off-by: Bart Van Assche <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions