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

From: Dave Hansen
Date: Wed Feb 10 2016 - 13:10:07 EST


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

http://lkml.kernel.org/r/20160209124649.GA20153@xxxxxxxxx

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 <srikar@xxxxxxxxxxxxxxxxxx>
cc: vlastimil babka <vbabka@xxxxxxx>
cc: andrew morton <akpm@xxxxxxxxxxxxxxxxxxxx>
cc: kirill a. shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
cc: andrea arcangeli <aarcange@xxxxxxxxxx>
cc: naoya horiguchi <n-horiguchi@xxxxxxxxxxxxx>
cc: jack@xxxxxxx