Skip to content
Commit 1e857e65 authored by Jason Gunthorpe's avatar Jason Gunthorpe
Browse files

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: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 7452a3c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment