Skip to content

mm/gup: introduce pin_user_pages_locked(), use it in frame_vector.c

John Hubbard linux-mm lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 0 repliesNew 1 of 2 applied
  2. v2 posting 1/22 patches 0 repliesSuperseded
  3. v12 patches 7 repliesSuperseded 1 of 2 applied

Changes in v2 from the cover letter

* added an assert-and-return to the corresponding get_user_pages_locked() call, to keep out any externally set FOLL_PIN flag, thanks to Souptick Joarder's review for spotting that.

* Added Acked-by and Reviewed by tags from David and Pakaj

Patches in v2 posting 2/2 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2mm/gup: introduce pin_user_pages_locked()include/linux/mm.h mm/gup.c+38 -00 repliesApplied
2/2mm/gup: frame_vector: convert get_user_pages() --> pin_user_pages()mm/frame_vector.c+3 -40 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchDavid HildenbrandPankaj Gupta
1/2R-b A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] mm/gup: introduce pin_user_pages_locked(), use it in frame_vector.c

Hi,

Changes since v1:

* added an assert-and-return to the corresponding get_user_pages_locked() call, to keep out any externally set FOLL_PIN flag, thanks to Souptick Joarder's review for spotting that.

* Added Acked-by and Reviewed by tags from David and Pakaj

John Hubbard (2):
mm/gup: introduce pin_user_pages_locked()
mm/gup: frame_vector: convert get_user_pages() --> pin_user_pages()

 include/linux/mm.h |  2 ++
 mm/frame_vector.c  |  7 +++----
 mm/gup.c           | 36 ++++++++++++++++++++++++++++++++++++
 3 files changed, 41 insertions(+), 4 deletions(-)

base-commit: bdc48fa11e46f867ea4d75fa59ee87a7f48be144

Signature · 1 line
2.26.2