powerpc/mm: Move mmap_sem unlocking in do_page_fault()
authorLaurent Dufour <ldufour@linux.vnet.ibm.com>
Tue, 14 Feb 2017 16:45:12 +0000 (17:45 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 21 Mar 2017 11:09:18 +0000 (22:09 +1100)
commit819cdcdb7b2ac6f8294a969eb2d9003b1be222bf
tree235f9ff89f57a3fa9d5dcf39686c0090441b3164
parent14c02e419a395c4bd7950175fc47eda1ecaa8c69
powerpc/mm: Move mmap_sem unlocking in do_page_fault()

Since the fault retry is now handled earlier, we can release the
mmap_sem lock earlier too and remove later unlocking previously done in
mm_fault_error().

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>
arch/powerpc/mm/fault.c