mbox series

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

Message ID 20191109020434.389855-1-jhubbard@nvidia.com (mailing list archive)
Headers show
Series IB/umem: use get_user_pages_fast() to pin DMA pages | expand

Message

John Hubbard Nov. 9, 2019, 2:04 a.m. UTC
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(-)