Skip to content

get_user_pages_locked|unlocked v1

Andrea Arcangeli linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mm: gup: add get_user_pages_locked and get_user_pages_unlockedinclude/linux/mm.h mm/gup.c mm/nommu.c+196 -111 reply
2/5mm: gup: add __get_user_pages_unlocked to customize gup_flagsinclude/linux/mm.h mm/gup.c mm/nommu.c+49 -154 replies
3/5mm: gup: use get_user_pages_unlocked within get_user_pages_fastarch/mips/mm/gup.c arch/powerpc/mm/gup.c arch/s390/mm/gup.c +5 more+18 -372 replies
4/5mm: gup: use get_user_pages_unlockeddrivers/iommu/amd_iommu_v2.c drivers/media/pci/ivtv/ivtv-udma.c drivers/scsi/st.c +3 more+12 -262 replies
5/5mm: gup: kvm use get_user_pages_unlockedinclude/linux/kvm_host.h virt/kvm/async_pf.c virt/kvm/kvm_main.c+5 -582 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAndres Lagar-CavillaPeter FeinerKirill A. Shutemov
1/5R-b R-b A-b
2/5R-b
3/5R-b A-b
4/5R-b A-b
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] get_user_pages_locked|unlocked v1

This patchset standalone is an optimization leveraging the page fault FAULT_FLAG_ALLOW_RETRY flag which allows the page fault paths to drop the mmap_sem before I/O.

For the userfaultfd patchset this patch is instead a dependency as we need that flag always set the first time any thread attempts a page fault, in order to release the mmap_sem before stopping the page fault (while waiting for a later userland wakeup).

http://thread.gmane.org/gmane.linux.kernel.mm/123575

Andrea Arcangeli (5):
mm: gup: add get_user_pages_locked and get_user_pages_unlocked
mm: gup: add __get_user_pages_unlocked to customize gup_flags
mm: gup: use get_user_pages_unlocked within get_user_pages_fast
mm: gup: use get_user_pages_unlocked
mm: gup: kvm use get_user_pages_unlocked

 arch/mips/mm/gup.c                 |   8 +-
 arch/powerpc/mm/gup.c              |   6 +-
 arch/s390/mm/gup.c                 |   6 +-
 arch/sh/mm/gup.c                   |   6 +-
 arch/sparc/mm/gup.c                |   6 +-
 arch/x86/mm/gup.c                  |   7 +-
 drivers/iommu/amd_iommu_v2.c       |   6 +-
 drivers/media/pci/ivtv/ivtv-udma.c |   6 +-
 drivers/scsi/st.c                  |   7 +-
 drivers/video/fbdev/pvr2fb.c       |   6 +-
 include/linux/kvm_host.h           |  11 --
 include/linux/mm.h                 |  11 ++
 mm/gup.c                           | 203 ++++++++++++++++++++++++++++++++++---
 mm/nommu.c                         |  33 ++++++
 mm/process_vm_access.c             |   7 +-
 mm/util.c                          |  10 +-
 net/ceph/pagevec.c                 |   6 +-
 virt/kvm/async_pf.c                |   2 +-
 virt/kvm/kvm_main.c                |  50 +--------
 19 files changed, 265 insertions(+), 132 deletions(-)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>