mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
Fix 44x and BookE page fault handler to correctly lock PTE before trying to pte_update() it, otherwise this PTE might be swapped out after pte_present() check but before pte_uptdate() call, resulting in corrupted PTE. This can happen with enabled preemption and low memory condition. Signed-off-by: Eugene Surovegin <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>