Re: [PATCH 2/3] powerpc/mm: handle VM_FAULT_RETRY earlier

2017-03-21 Thread Laurent Dufour
On 21/03/2017 10:12, Aneesh Kumar K.V wrote: > Laurent Dufour writes: > >> In do_page_fault() if handle_mm_fault() returns VM_FAULT_RETRY, retry >> the page fault handling before anything else. >> >> This would simplify the handling of the mmap_sem lock in this part

Re: [PATCH 2/3] powerpc/mm: handle VM_FAULT_RETRY earlier

2017-03-21 Thread Aneesh Kumar K.V
Laurent Dufour writes: > In do_page_fault() if handle_mm_fault() returns VM_FAULT_RETRY, retry > the page fault handling before anything else. > > This would simplify the handling of the mmap_sem lock in this part of > the code. > > Signed-off-by: Laurent Dufour

[PATCH 2/3] powerpc/mm: handle VM_FAULT_RETRY earlier

2017-02-14 Thread Laurent Dufour
In do_page_fault() if handle_mm_fault() returns VM_FAULT_RETRY, retry the page fault handling before anything else. This would simplify the handling of the mmap_sem lock in this part of the code. Signed-off-by: Laurent Dufour --- arch/powerpc/mm/fault.c | 67