aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-07-25 21:40:15 -0600
committerJason Gunthorpe <jgg@mellanox.com>2018-08-01 14:55:48 -0600
commit1e857e65d4bb76738d3fb3b15ce9b73a0ce550f8 (patch)
treed82f7b3c66e440bdda84231c3781356869ad9a33 /tools/perf/scripts/python
parentIB/uverbs: Allow RDMA_REMOVE_DESTROY to work concurrently with disassociate (diff)
downloadlinux-1e857e65d4bb76738d3fb3b15ce9b73a0ce550f8.tar.gz
linux-1e857e65d4bb76738d3fb3b15ce9b73a0ce550f8.zip
IB/uverbs: Allow uobject allocation to work concurrently with disassociate
After all the recent structural changes this is now straightforward, hold the hw_destroy_rwsem across the entire uobject creation. We already take this semaphore on the success path, so holding it a bit longer is not going to change the performance. After this change none of the create callbacks require the disassociate_srcu lock to be correct. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions