[v3] Fixed a spelling error suggested by zyjzyj2000@xxxxxxxxx Changed the naming of APIs to xxx_locked suggested by jgg@xxxxxxxxxx [v2] This series of patches corrects a bug introduced in rxe_pool.c by a recent commit and then addresses several issues raised during discussion of the bug and the proposed fix. The first patch fixes a real bug but the other five are stylistic and cleanup changes. Taken together these changes also improve the performance of ib_write_bw (in software loopback) by about 6% by reducing overhead in rxe_pool.c compared to current head of tree. Signed-off-by: Bob Pearson <rpearson@xxxxxxx> Bob Pearson (6): RDMA/rxe: Fix bug in rxe_alloc RDMA/rxe: Fix misleading comments and names RDMA/rxe: Remove RXE_POOL_ATOMIC RDMA/rxe: Remove references to ib_device and pool RDMA/rxe: Remove unneeded pool->state RDMA/rxe: Replace missing rxe_pool_get_index_locked drivers/infiniband/sw/rxe/rxe_mcast.c | 8 +- drivers/infiniband/sw/rxe/rxe_pool.c | 132 +++++++++----------------- drivers/infiniband/sw/rxe/rxe_pool.h | 63 ++++++------ 3 files changed, 76 insertions(+), 127 deletions(-) -- 2.27.0