Skip to content

mm/gup: introduce vaddr_pin_pages_remote(), FOLL_PIN

John Hubbard linux-fsdevel linux-mm linux-rdma lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/23 patches 2 repliesIn review
  2. v2 RFC posting 1/23 patches 2 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3For Ira: tiny formatting tweak to kerneldocmm/gup.c+2 -20 replies
2/3mm/gup: introduce FOLL_PIN flag for get_user_pages()drivers/infiniband/core/umem.c include/linux/mm.h mm/gup.c+52 -70 replies
3/3mm/gup: introduce vaddr_pin_pages_remote(), and invoke itinclude/linux/mm.h mm/gup.c mm/process_vm_access.c+52 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] mm/gup: introduce vaddr_pin_pages_remote(), FOLL_PIN

Hi Ira,

This is for your tree. I'm dropping the RFC because this aspect is starting to firm up pretty well.

I've moved FOLL_PIN inside the vaddr_pin_*() routines, and moved FOLL_LONGTERM outside, based on our recent discussions. This is documented pretty well within the patches.

Note that there are a lot of references in comments and commit logs, to vaddr_pin_pages(). We'll want to catch all of those if we rename that. I am pushing pretty hard to rename it to vaddr_pin_user_pages().

v1 of this may be found here:
https://lore.kernel.org/r/[email protected]

John Hubbard (3):
For Ira: tiny formatting tweak to kerneldoc mm/gup: introduce FOLL_PIN flag for get_user_pages() mm/gup: introduce vaddr_pin_pages_remote(), and invoke it

 drivers/infiniband/core/umem.c |  1 +
 include/linux/mm.h             | 61 ++++++++++++++++++++++++++++++----
 mm/gup.c                       | 40 ++++++++++++++++++++--
 mm/process_vm_access.c         | 23 +++++++------
 4 files changed, 106 insertions(+), 19 deletions(-)
Signature · 1 line
2.22.1