Re: [PATCH 6/7] mm: allow ->page_mkwrite to do retries

2018-10-18 Thread Dave Chinner
On Thu, Oct 18, 2018 at 04:23:17PM -0400, Josef Bacik wrote: > Before we didn't set the retry flag on our vm_fault. We want to allow > file systems to drop the mmap_sem if they so choose, so set this flag > and deal with VM_FAULT_RETRY appropriately. > > Signed-off-by: Josef Bacik > --- > mm/me

[PATCH 6/7] mm: allow ->page_mkwrite to do retries

2018-10-18 Thread Josef Bacik
Before we didn't set the retry flag on our vm_fault. We want to allow file systems to drop the mmap_sem if they so choose, so set this flag and deal with VM_FAULT_RETRY appropriately. Signed-off-by: Josef Bacik --- mm/memory.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) di