On Thu, Dec 10, 2020 at 11:42:59AM -0600, Bob Pearson wrote: > Changed work and completion queues to use smp_load_acquire() and > smp_store_release() to synchronize between driver and users. > This commit goes with a matching series of commits in the rxe user > space provider. > > v2: Addressed same issue for kernel ULPs which use rxe_post_send/recv(). > > Signed-off-by: Bob Pearson <rpearson@xxxxxxx> > --- > drivers/infiniband/sw/rxe/rxe_cq.c | 5 -- > drivers/infiniband/sw/rxe/rxe_queue.h | 94 +++++++++++++++++---------- > drivers/infiniband/sw/rxe/rxe_verbs.c | 11 ---- > include/uapi/rdma/rdma_user_rxe.h | 21 ++++++ > 4 files changed, 81 insertions(+), 50 deletions(-) This really is a lot better than what was here, the extra barriers on empty/full can be fine tuned later So applied to for-next Thanks, Jason