public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-next 0/2] Enable rcu locking of verbs objects
@ 2023-07-18 17:59 Bob Pearson
  2023-07-18 17:59 ` [PATCH for-next 1/2] RDMA/core: Support drivers use of rcu locking Bob Pearson
  2023-07-18 17:59 ` [PATCH for-next 2/2] RDMA/rxe: Enable rcu locking of indexed objects Bob Pearson
  0 siblings, 2 replies; 10+ messages in thread
From: Bob Pearson @ 2023-07-18 17:59 UTC (permalink / raw)
  To: jgg, leon, zyjzyj2000, linux-rdma, jhack; +Cc: Bob Pearson

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
-- 
2.39.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-08-09 19:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-18 17:59 [PATCH for-next 0/2] Enable rcu locking of verbs objects Bob Pearson
2023-07-18 17:59 ` [PATCH for-next 1/2] RDMA/core: Support drivers use of rcu locking Bob Pearson
2023-08-09 19:10   ` Jason Gunthorpe
2023-07-18 17:59 ` [PATCH for-next 2/2] RDMA/rxe: Enable rcu locking of indexed objects Bob Pearson
2023-07-19  5:38   ` Zhu Yanjun
2023-07-19 14:34     ` Bob Pearson
2023-07-19  7:49   ` Leon Romanovsky
2023-07-19 16:43     ` Bob Pearson
2023-07-23 15:00       ` Leon Romanovsky
2023-08-09 19:17   ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox