diff options
author | Jason Gunthorpe <[email protected]> | 2020-07-23 10:07:06 +0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-07-29 14:10:02 -0300 |
commit | cc9c037343898eb7a775e6b81d092ee21eeff218 (patch) | |
tree | 5124d81370bc593ce63732db0b3e0f5eb19d922c /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 3647a28de1ada8708efc78d956619b9df5004478 (diff) |
RDMA/cma: Remove unneeded locking for req paths
The REQ flows are concerned that once the handler is called on the new
cm_id the ULP can choose to trigger a rdma_destroy_id() concurrently at
any time.
However, this is not true, while the ULP can call rdma_destroy_id(), it
immediately blocks on the handler_mutex which prevents anything harmful
from running concurrently.
Remove the confusing extra locking and refcounts and make the
handler_mutex protecting state during destroy more clear.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions