Skip to content

Enable rcu locking of verbs objects

Bob Pearson linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2RDMA/core: Support drivers use of rcu lockingdrivers/infiniband/core/uverbs_main.c drivers/infiniband/core/verbs.c include/rdma/ib_verbs.h+28 -41 reply
2/2RDMA/rxe: Enable rcu locking of indexed objectsdrivers/infiniband/sw/rxe/rxe_pool.h drivers/infiniband/sw/rxe/rxe_verbs.c+6 -16 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchZhu Yanjun
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH for-next 0/2] Enable rcu locking of verbs objects

This patch set consists of two patches. The first adds code to rdma-core to optionally use kfree_rcu instead of kfree for three of the verbs objects which are looked up by their indices in the rxe driver and which are freed in the destroy verbs in rdma-core. The second patch adds rcu_head to the private data in the rxe driver and sets the offsets to these structs. This allows the rxe driver to correctly use rcu locking on these objects.

Bob Pearson (2):
RDMA/core: Support drivers use of rcu locking
RDMA/rxe: Enable rcu locking of indexed objects

 drivers/infiniband/core/uverbs_main.c |  2 +-
 drivers/infiniband/core/verbs.c       |  6 +++---
 drivers/infiniband/sw/rxe/rxe_pool.h  |  1 +
 drivers/infiniband/sw/rxe/rxe_verbs.c |  6 +++++-
 include/rdma/ib_verbs.h               | 24 ++++++++++++++++++++++++
 5 files changed, 34 insertions(+), 5 deletions(-)

base-commit: f877f22ac1e9bf1f9aded3765b0012851e1dc4c5

Signature · 1 line
2.39.2