diff options
| author | Mike Christie <[email protected]> | 2017-11-28 12:40:32 -0600 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2018-01-12 15:07:13 -0800 |
| commit | 6fddcb775477bb2213bd76ab62145645eb570f33 (patch) | |
| tree | 59c35a54d94bf131d8af543e5740519fcaa46aa9 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 488ebe4c355fdead39dbb3f6a51329c16cbfcc60 (diff) | |
tcmu: remove commands_lock
No need for the commands_lock. The cmdr_lock is already held during
idr addition and deletion, so just grab it during traversal.
Note: This also fixes a issue where we should have been using at
least _bh locking in tcmu_handle_completions when taking the commands
lock to prevent the case where tcmu_handle_completions could be
interrupted by a timer softirq while the commands_lock is held.
Signed-off-by: Mike Christie <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions