Re: [RFC PATCH v2 10/19] mm/gup: Pass a NULL vaddr_pin through GUP fast

2019-08-09 Thread John Hubbard
On 8/9/19 3:58 PM, ira.we...@intel.com wrote: > From: Ira Weiny > > Internally GUP fast needs to know that fast users will not support file > pins. Pass NULL for vaddr_pin through the fast call stack so that the > pin code can return an error if it encounters file backed memory within > the

[RFC PATCH v2 10/19] mm/gup: Pass a NULL vaddr_pin through GUP fast

2019-08-09 Thread ira . weiny
From: Ira Weiny Internally GUP fast needs to know that fast users will not support file pins. Pass NULL for vaddr_pin through the fast call stack so that the pin code can return an error if it encounters file backed memory within the address range. Signed-off-by: Ira Weiny --- mm/gup.c | 65