commit | 14c02e419a395c4bd7950175fc47eda1ecaa8c69 | [log] [tgz] |
---|---|---|
author | Laurent Dufour <ldufour@linux.vnet.ibm.com> | Tue Feb 14 17:45:11 2017 +0100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Mar 21 22:09:11 2017 +1100 |
tree | c35121af999465f3d28fbf445df00b0dade8599f | |
parent | c2294e0ffe741c8b34c630a71c7dc44d30503538 [diff] |
powerpc/mm: Handle VM_FAULT_RETRY earlier 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. Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>