Move two object pools to rxe_mcast.c
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v13 Latest6 patches 4 repliesIn review
- v126 patches 4 repliesSuperseded
- v1111 patches 9 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v10 | 17 patches | 5 replies | Superseded | |
| v9 RFC | 26 patches | 12 replies | Superseded |
Patches in v13 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | RDMA/rxe: Warn if mcast memory is not freeddrivers/ | +2 | 0 replies | |
| 2/6 | RDMA/rxe: Collect mca init code in a subroutinedrivers/ drivers/ | +44 | 0 replies | |
| 3/6 | RDMA/rxe: Collect cleanup mca code in a subroutinedrivers/ | +26 | 0 replies | |
| 4/6 | RDMA/rxe: Cleanup rxe_mcast.cdrivers/ | +78 | 0 replies | |
| 5/6 | RDMA/rxe: For mcast copy qp list to temp arraydrivers/ | +64 | 2 replies | |
| 6/6 | RDMA/rxe: Convert mca read locking to RCUdrivers/ drivers/ drivers/ | +56 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v13 yet.
Cover letter [PATCH for-next v13 0/6] Move two object pools to rxe_mcast.c
This patch series completes the separation of the mc_grp and mc_elem object pools from rxe_pools.c and moving of their code to rxe_mcast.c. This makes sense because these two pools are different from the other pools as the only ones that do not share objects with rdma-core and that use key's instead of indices to enable looking up objects. This change will enable a significant simplification of the normal object pools.
---
v13
Addressed issues raised by Jason Gunthorpe
Replaced rxe_mcast_cleanup() by a warning.
Dropped _rcu from __rxe_init/cleanup_mca_rcu Restructured rxe_detach_mcg to simplify
v12
Addressed issues raised by Jason Gunthorpe.
Returned a warning if rdma-core fails to cleanup mcast memory. Split the 'cleanup patch' into more managable patches. Fixed an error in the rcu patch by moving the kfree and rxe_drop_ref(qp) to a call_rcu() routine.
v11
Restructured the patch series to simplify it and make each patch simpler. Addressed some additional issues raised by Jason Gunthorpe in the review of that last version.
v10
Corrected issues reported by Jason Gunthorpe
Isolated patches 01-17 separate from the remaining patches. They will be submitted later
v9
Corrected issues reported by Jason Gunthorpe,
Converted locking in rxe_mcast.c and rxe_pool.c to use RCU Split up the patches into smaller changes
v8
Fixed an additional race in 3/8 which was not handled correctly.
v7
Corrected issues reported by Jason Gunthorpe
v6
Fixed a kzalloc flags bug.
Fixed comment bug reported by 'Kernel Test Robot'.
Changed type of rxe_pool.c in __rxe_fini().
v5
Removed patches already accepted into for-next and addressed comments from Jason Gunthorpe.
v4
Restructured patch series to change to xarray earlier which greatly simplified the changes.
Rebased to current for-next
v3
Changed rxe_alloc to use GFP_KERNEL
Addressed other comments by Jason Gunthorp
Merged the previous 06/10 and 07/10 patches into one since they overlapped Added some minor cleanups as 10/10
v2
Rebased to current for-next.
Added 4 additional patches
Bob Pearson (6):
RDMA/rxe: Warn if mcast memory is not freed RDMA/rxe: Collect mca init code in a subroutine RDMA/rxe: Collect cleanup mca code in a subroutine RDMA/rxe: Cleanup rxe_mcast.c
RDMA/rxe: For mcast copy qp list to temp array RDMA/rxe: Convert mca read locking to RCU
drivers/infiniband/sw/rxe/rxe.c | 2 + drivers/infiniband/sw/rxe/rxe_mcast.c | 237 ++++++++++++++++++++------ drivers/infiniband/sw/rxe/rxe_recv.c | 107 +++++++----- drivers/infiniband/sw/rxe/rxe_verbs.h | 4 + 4 files changed, 256 insertions(+), 94 deletions(-)
Signature · 1 line
2.32.0