diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2020-09-02 11:11:16 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-09-17 15:09:23 +0300 |
commit | 732d41c545bb359cbb8c94698bdc1f8bcf82279c (patch) | |
tree | 936a5ece1eb2c3372a79b2a1013edd528369cf5a /tools/perf/scripts/python/syscall-counts.py | |
parent | 2a7cec538169ada48a7810e77abff2ca99dbb098 (diff) | |
download | linux-732d41c545bb359cbb8c94698bdc1f8bcf82279c.tar.xz |
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/20200902081122.745412-3-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions