Replace red-black tree by xarray
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | RDMA/rxe: Replace irqsave locks with bh locksdrivers/ drivers/ drivers/ +6 more | +65 | 0 replies | |
| 2/7 | RDMA/rxe: Cleanup rxe_pool_entrydrivers/ drivers/ drivers/ +7 more | +84 | 0 replies | |
| 3/7 | RDMA/rxe: Add xarray support to rxe_pool.cdrivers/ drivers/ | +92 | 2 replies | |
| 4/7 | RDMA/rxe: Replace pool_lock by xa_lockdrivers/ | +26 | 0 replies | |
| 5/7 | RDMA/rxe: Convert remaining pools to xarraysdrivers/ | +4 | 0 replies | |
| 6/7 | RDMA/rxe: Remove old index code from rxe_pool.cdrivers/ drivers/ drivers/ | +15 | 0 replies | |
| 7/7 | RDMA/rxe: Rename XARRAY as INDEXdrivers/ drivers/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH for-next 0/7] Replace red-black tree by xarray
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(-)
Signature · 1 line
2.30.2