aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorShiraz Saleem <[email protected]>2018-06-01 12:18:36 -0500
committerJason Gunthorpe <[email protected]>2018-06-18 11:09:05 -0600
commitaaf5e003b1c454c5722bc4ea9dfd3506c57d36a9 (patch)
treed19d688c6cf8aa98ce21abaa0ae18d700ee8cfee /tools/perf/scripts/python/compaction-times.py
parentde7498147d0053273fd3dcf85ba20babb9ef9725 (diff)
i40iw: Reorganize acquire/release of locks in i40iw_manage_apbvt
Commit f43c00c04bbf ("i40iw: Extend port reuse support for listeners") introduces a sparse warning: include/linux/spinlock.h:365:9: sparse: context imbalance in 'i40iw_manage_apbvt' - unexpected unlock Fix this by reorganizing the acquire/release of locks in i40iw_manage_apbvt and add a new function i40iw_cqp_manage_abvpt_cmd to perform the CQP command. Also, use __clear_bit and __test_and_set_bit as we do not need atomic versions. Fixes: f43c00c04bbf ("i40iw: Extend port reuse support for listeners") Suggested-by: Jason Gunthorpe <[email protected]> Signed-off-by: Shiraz Saleem <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions