Skip to content

RFC get_user_pages_remote(), now with creative macros

Dave Hansen linux-mm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm: introduce get_user_pages_remote()drivers/gpu/drm/etnaviv/etnaviv_gem.c drivers/gpu/drm/i915/i915_gem_userptr.c drivers/infiniband/core/umem_odp.c +8 more+77 -270 replies
2/3mm: overload get_user_pages() functionsinclude/linux/mm.h mm/gup.c mm/nommu.c +1 more+161 -460 replies
3/3mm, gup: switch callers of get_user_pages() to not pass tsk/mmarch/cris/arch-v32/drivers/cryptocop.c arch/ia64/kernel/err_inject.c arch/mips/mm/gup.c +26 more+44 -640 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] [RFC] get_user_pages_remote(), now with creative macros

This is responding to some feedback from Ingo on the "get_user_pages_foreign()" patch:

	http://lkml.kernel.org/r/[email protected]

This new series breaks apart some of the changes in that original patch and adds some backward-compatibility to allow old-style get_user_pages() arguments to not break the build. The macros to do this are "fun". See patch #2.

We also change the name to get_user_pages_remote().

This is a preparatory patch for the Memory Protection Keys work, but I am sending this separately for review to spare you from the ~30 other patches in the series that have not changed.

cc srikar dronamraju <[email protected]>
cc vlastimil babka <[email protected]>
cc andrew morton <[email protected]>
cc kirill a. shutemov <[email protected]>
cc andrea arcangeli <[email protected]>
cc naoya horiguchi <[email protected]>