linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-next 0/7] Replace red-black tree by xarray
@ 2021-10-20 22:05 Bob Pearson
  2021-10-20 22:05 ` [PATCH for-next 1/7] RDMA/rxe: Replace irqsave locks with bh locks Bob Pearson
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Bob Pearson @ 2021-10-20 22:05 UTC (permalink / raw)
  To: jgg, zyjzyj2000, linux-rdma; +Cc: Bob Pearson

This series of patches starts with some minor cleanups in rxe pools
and then replaces the red-black trees used to lookup rxe objects from
indices with xarrays. The change over is made in small steps starting
by adding xarrays and then convrting red-black trees to xarrays and
finally deleting the original index code and renaming the xarray code
to take its place.

These patches apply cleanly to current for-next branch after the
"Correct race conditions in rdma_rxe" patch series
	commit ed0d7445ed4651f4171c38d9446dc43c823ad32b
applied to
	commit ac0fffa0859b8e1e991939663b3ebdd80bf979e6 (origin/for-next)

Bob Pearson (7):
  RDMA/rxe: Replace irqsave locks with bh locks
  RDMA/rxe: Cleanup rxe_pool_entry
  RDMA/rxe: Add xarray support to rxe_pool.c
  RDMA/rxe: Replace pool_lock by xa_lock
  RDMA/rxe: Convert remaining pools to xarrays
  RDMA/rxe: Remove old index code from rxe_pool.c
  RDMA/rxe: Rename XARRAY as INDEX

 drivers/infiniband/sw/rxe/rxe.c       |  86 ++-------
 drivers/infiniband/sw/rxe/rxe_comp.c  |   8 +-
 drivers/infiniband/sw/rxe/rxe_cq.c    |  23 +--
 drivers/infiniband/sw/rxe/rxe_loc.h   |  10 +-
 drivers/infiniband/sw/rxe/rxe_mcast.c |  10 +-
 drivers/infiniband/sw/rxe/rxe_mr.c    |   6 +-
 drivers/infiniband/sw/rxe/rxe_mw.c    |  19 +-
 drivers/infiniband/sw/rxe/rxe_pool.c  | 266 +++++++-------------------
 drivers/infiniband/sw/rxe/rxe_pool.h  |  53 +++--
 drivers/infiniband/sw/rxe/rxe_qp.c    |   6 +-
 drivers/infiniband/sw/rxe/rxe_queue.c |   9 +-
 drivers/infiniband/sw/rxe/rxe_req.c   |  11 +-
 drivers/infiniband/sw/rxe/rxe_srq.c   |   6 +-
 drivers/infiniband/sw/rxe/rxe_task.c  |  18 +-
 drivers/infiniband/sw/rxe/rxe_verbs.c |  29 ++-
 drivers/infiniband/sw/rxe/rxe_verbs.h |  22 +--
 16 files changed, 185 insertions(+), 397 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2021-10-21 17:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20 22:05 [PATCH for-next 0/7] Replace red-black tree by xarray Bob Pearson
2021-10-20 22:05 ` [PATCH for-next 1/7] RDMA/rxe: Replace irqsave locks with bh locks Bob Pearson
2021-10-20 22:05 ` [PATCH for-next 2/7] RDMA/rxe: Cleanup rxe_pool_entry Bob Pearson
2021-10-20 22:05 ` [PATCH for-next 3/7] RDMA/rxe: Add xarray support to rxe_pool.c Bob Pearson
2021-10-21 11:53   ` Dennis Dalessandro
2021-10-21 17:02     ` Bob Pearson
2021-10-20 22:05 ` [PATCH for-next 4/7] RDMA/rxe: Replace pool_lock by xa_lock Bob Pearson
2021-10-20 22:05 ` [PATCH for-next 5/7] RDMA/rxe: Convert remaining pools to xarrays Bob Pearson
2021-10-20 22:05 ` [PATCH for-next 6/7] RDMA/rxe: Remove old index code from rxe_pool.c Bob Pearson
2021-10-20 22:05 ` [PATCH for-next 7/7] RDMA/rxe: Rename XARRAY as INDEX Bob Pearson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).