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