From: Eugene Surovegin Date: Tue, 28 Mar 2006 18:13:12 +0000 (-0800) Subject: [PATCH] lock PTE before updating it in 440/BookE page fault handler X-Git-Tag: v2.6.17-rc1~165^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bab70a4af737f623de5b034976a311055308ab86;p=pandora-kernel.git [PATCH] lock PTE before updating it in 440/BookE page fault handler 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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed