Skip to content

RFC mm/gup: introduce vaddr_pin_pages_remote(), FOLL_PIN

[email protected] linux-fsdevel linux-mm linux-rdma lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 28 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm/gup: introduce FOLL_PIN flag for get_user_pages()include/linux/mm.h mm/gup.c+5 -10 replies
2/2mm/gup: introduce vaddr_pin_pages_remote()drivers/infiniband/core/umem_odp.c include/linux/mm.h mm/gup.c+66 -628 replies

Reviews trailers per patch

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

Read the v1 thread

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

From: John Hubbard <[email protected]>

Hi,

Dave Chinner's head didn't seem to explode...much, when he saw Ira's series, so I optimistically started taking it from there...this builds on top of Ira's patchset that he just sent out:

"[RFC PATCH v2 00/19] RDMA/FS DAX truncate proposal V1,000,002 ;-)" [1]

...which in turn is based on the latest -mmotm.

If Ira's series and this one are both acceptable, then

a) I'll rework the 41-patch "put_user_pages(): miscellaneous call sites" series, and

b) note that this will take rather longer and will be quite a bit more intrusive for each call site (but it's worth it), due to the need to plumb the owning struct file* all the way down to the gup() call. whew.

[1] https://lore.kernel.org/r/[email protected]

[2] https://lore.kernel.org/r/[email protected]

John Hubbard (2):
mm/gup: introduce FOLL_PIN flag for get_user_pages() mm/gup: introduce vaddr_pin_pages_remote()

 drivers/infiniband/core/umem_odp.c | 15 ++++----
 include/linux/mm.h                 |  8 +++++
 mm/gup.c                           | 55 +++++++++++++++++++++++++++++-
 3 files changed, 71 insertions(+), 7 deletions(-)
Signature · 1 line
2.22.0