Re: [PATCH v2] RDMA/rxe: Use acquire/release for memory ordering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux