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

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

 



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




[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