Skip to content

mm/gup, media/ivtv: introduce pin_user_pages_unlocked

John Hubbard linux-media linux-mm lkml 1 version Applied

Status from this message: [merged] ivtv-convert-get_user_pages-pin_user_pages.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm/gup: introduce pin_user_pages_unlockedinclude/linux/mm.h mm/gup.c+19 -00 repliesApplied
2/2ivtv: convert get_user_pages() --> pin_user_pages()drivers/media/pci/ivtv/ivtv-udma.c drivers/media/pci/ivtv/ivtv-yuv.c drivers/media/pci/ivtv/ivtvfb.c+14 -260 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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

Signature · 1 line
2.26.2