diff options
author | Jason Gunthorpe <[email protected]> | 2020-09-02 11:11:16 +0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-09-17 09:09:23 -0300 |
commit | 732d41c545bb359cbb8c94698bdc1f8bcf82279c (patch) | |
tree | 936a5ece1eb2c3372a79b2a1013edd528369cf5a /tools/perf/scripts/python | |
parent | 2a7cec538169ada48a7810e77abff2ca99dbb098 (diff) |
RDMA/cma: Make the locking for automatic state transition more clear
Re-organize things so the state variable is not read unlocked. The first
attempt to go directly from ADDR_BOUND immediately tells us if the ID is
already bound, if we can't do that then the attempt inside
rdma_bind_addr() to go from IDLE to ADDR_BOUND confirms the ID needs
binding.
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions