[RFC PATCH 0/2] mm/gup: introduce vaddr_pin_pages_remote(), FOLL_PIN
From: john . hubbard
Date: Sun Aug 11 2019 - 21:51:04 EST
From: John Hubbard <jhubbard@xxxxxxxxxx>
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/20190809225833.6657-1-ira.weiny@xxxxxxxxx
[2] https://lore.kernel.org/r/20190807013340.9706-1-jhubbard@xxxxxxxxxx
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(-)
--
2.22.0