Here are 3 more patches related/spawned out of the work to scale back the page pinning re-work. This series depends on [1] which was submitted for RC recently. [1] https://patchwork.kernel.org/project/linux-rdma/patch/168451393605.3700681.13493776139032178861.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxx/ --- Brendan Cunningham (2): IB/hfi1: Add mmu_rb_node refcount to hfi1_mmu_rb_template tracepoints IB/hfi1: Remove unused struct mmu_rb_ops fields .insert, .invalidate Patrick Kelsey (1): IB/hfi1: Separate user SDMA page-pinning from memory type drivers/infiniband/hw/hfi1/Makefile | 2 + drivers/infiniband/hw/hfi1/init.c | 5 + drivers/infiniband/hw/hfi1/mmu_rb.c | 7 +- drivers/infiniband/hw/hfi1/mmu_rb.h | 7 +- drivers/infiniband/hw/hfi1/pin_system.c | 487 ++++++++++++++++++++++++ drivers/infiniband/hw/hfi1/pinning.c | 55 +++ drivers/infiniband/hw/hfi1/pinning.h | 75 ++++ drivers/infiniband/hw/hfi1/trace_mmu.h | 48 ++- drivers/infiniband/hw/hfi1/user_sdma.c | 472 ++--------------------- drivers/infiniband/hw/hfi1/user_sdma.h | 15 +- include/uapi/rdma/hfi/hfi1_user.h | 31 +- 11 files changed, 743 insertions(+), 461 deletions(-) create mode 100644 drivers/infiniband/hw/hfi1/pin_system.c create mode 100644 drivers/infiniband/hw/hfi1/pinning.c create mode 100644 drivers/infiniband/hw/hfi1/pinning.h -- -Denny