[RESEND 4/7] mm/gup: Add FOLL_LONGTERM capability to GUP fast

Dan Williams dan.j.williams at intel.com
Tue Mar 26 09:36:28 AEDT 2019

On Mon, Mar 25, 2019 at 3:22 PM Ira Weiny <ira.weiny at intel.com> wrote:
> FWIW this thread is making me think my original patch which simply implemented
> get_user_pages_fast_longterm() would be more clear.  There is some evidence
> that the GUP API was trending that way (see get_user_pages_remote).  That seems
> wrong but I don't know how to ensure users don't specify the wrong flag.

What about just making the existing get_user_pages_longterm() have a
fast path option?

More information about the Linuxppc-dev mailing list