Skip to content

IB/umem: use get_user_pages_fast() to pin DMA pages

John Hubbard linux-mm linux-rdma lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1IB/umem: use get_user_pages_fast() to pin DMA pagesdrivers/infiniband/core/umem.c+6 -113 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchIra WeinyJason Gunthorpe
1/1R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/1] IB/umem: use get_user_pages_fast() to pin DMA pages

Hi Jason, Andrew,

Jason: Here is the change to get_user_pages_fast(), that you requested during the review of "mm/gup: track dma-pinned pages: FOLL_PIN, FOLL_LONGTERM" [1].

This is a stand-alone patch that applies to today's 5.4.0-rc6 linux.git.

If anyone could please provide any run-time testing (and of course, Reviewed-by's), that would be huge. I've compiled and run it, but bpftrace tells me (as I already knew) that my current anemic IB setup is not actually exercising this code path.

Andrew: unless instructed otherwise, I plan to also re-post this as part of the next (v3) version of [1], and hopefully have the whole series go through your tree. That would avoid merge conflicts, and as I understand it, there is no particular urgency for this patch, so we might as well do it the easy way.

John Hubbard (1):
IB/umem: use get_user_pages_fast() to pin DMA pages

 drivers/infiniband/core/umem.c | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)
Signature · 1 line
2.24.0