Re: [PATCH RFC 03/10] mm/gup: Pass flags down to __gup_device_huge* calls

Christoph Hellwig
2019-06-06T06:18:19Z

On Wed, Jun 05, 2019 at 06:45:36PM -0700, ira.weiny@intel.com wrote:
> From: Ira Weiny <ira.weiny@intel.com>
>
> In order to support checking for a layout lease on a FS DAX inode these
> calls need to know if FOLL_LONGTERM was specified.
>
> Prepare for this with this patch.

The GUP fast argument passing is a mess. That is why I've come up
with this as part of the (not ready) get_user_pages_fast_bvec