Files
android_kernel_xiaomi_sm8450/arch/arm/mm
Kautuk Consul dff2aa7af8 ARM: 7368/1: fault.c: correct how the tsk->[maj|min]_flt gets incremented
commit 8878a539ff was done by me
to make the page fault handler retryable as well as interruptible.

Due to this commit, there is a mistake in the way in which
tsk->[maj|min]_flt counter gets incremented for VM_FAULT_ERROR:
If VM_FAULT_ERROR is returned in the fault flags by handle_mm_fault,
then either maj_flt or min_flt will get incremented. This is wrong
as in the case of a VM_FAULT_ERROR we need to be skip ahead to the
error handling code in do_page_fault.

Added a check after the call to __do_page_fault() to check for
(fault & VM_FAULT_ERROR).

Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2012-04-10 09:27:42 +01:00
..
2012-03-28 18:30:01 +01:00
2011-12-08 10:30:40 +00:00
2012-03-28 18:30:01 +01:00
2011-02-02 21:23:26 +00:00
2012-01-26 20:07:59 +00:00
2011-12-06 11:15:25 +00:00
2012-03-28 18:30:01 +01:00