linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mm/gup: introduce pin_user_pages_locked(), use it in frame_vector.c
@ 2020-05-31 23:41 John Hubbard
  2020-05-31 23:41 ` [PATCH v2 1/2] mm/gup: introduce pin_user_pages_locked() John Hubbard
  2020-05-31 23:41 ` [PATCH v2 2/2] mm/gup: frame_vector: convert get_user_pages() --> pin_user_pages() John Hubbard
  0 siblings, 2 replies; 3+ messages in thread
From: John Hubbard @ 2020-05-31 23:41 UTC (permalink / raw)
  To: Andrew Morton
  Cc: David Hildenbrand, Pankaj Gupta, Souptick Joarder, LKML,
	linux-mm, John Hubbard

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
-- 
2.26.2



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-31 23:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-31 23:41 [PATCH v2 0/2] mm/gup: introduce pin_user_pages_locked(), use it in frame_vector.c John Hubbard
2020-05-31 23:41 ` [PATCH v2 1/2] mm/gup: introduce pin_user_pages_locked() John Hubbard
2020-05-31 23:41 ` [PATCH v2 2/2] mm/gup: frame_vector: convert get_user_pages() --> pin_user_pages() John Hubbard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).