diff options
author | Eugene Surovegin <ebs@ebshome.net> | 2006-03-28 20:13:12 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-29 04:44:15 +0200 |
commit | bab70a4af737f623de5b034976a311055308ab86 (patch) | |
tree | f8c0e9463de01323db2cb1a62f4eb83adb5ce7ca /arch/m32r | |
parent | Merge ../linux-2.6 (diff) | |
download | linux-bab70a4af737f623de5b034976a311055308ab86.tar.xz linux-bab70a4af737f623de5b034976a311055308ab86.zip |
[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 <ebs@ebshome.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions