Searched hist:b5c8f0fd595d25a938d16c041f92badc67533d9f (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/mm/ |
H A D | fault.c | diff b5c8f0fd595d25a938d16c041f92badc67533d9f Tue Jul 18 23:49:36 CDT 2017 Benjamin Herrenschmidt <benh@kernel.crashing.org> powerpc/mm: Rework mm_fault_error()
First, handle the normal retry failure in do_page_fault itself, since it's a simple return statement. That allows us to remove the "continue" special return code from mm_fault_error().
Once that's done, we can have an implementation much closer to x86 where we only call mm_fault_error() if VM_FAULT_ERROR is set and directly return.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|