[PATCH 0/2] mm/gup, media/ivtv: introduce pin_user_pages_unlocked

From: John Hubbard
Date: Sun May 17 2020 - 21:22:13 EST


I suppose these should go up through Andrew's linux-mm tree, due to
adding a new pin_user_pages*() variant to gup.c. However, it would be
nice if anyone from IVTV or linux-media could provide some run time
testing, maybe even a Tested-by.

Note that I have only compile-tested these patches, although that does
also include cross-compiling for half a dozen arches.

John Hubbard (2):
mm/gup: introduce pin_user_pages_unlocked
ivtv: convert get_user_pages() --> pin_user_pages()

drivers/media/pci/ivtv/ivtv-udma.c | 19 ++++++-------------
drivers/media/pci/ivtv/ivtv-yuv.c | 17 ++++++-----------
drivers/media/pci/ivtv/ivtvfb.c | 4 ++--
include/linux/mm.h | 2 ++
mm/gup.c | 17 +++++++++++++++++
5 files changed, 33 insertions(+), 26 deletions(-)


base-commit: b9bbe6ed63b2b9f2c9ee5cbd0f2c946a2723f4ce
--
2.26.2