]> Pileus Git - ~andy/linux/commit
parisc: fix SMP races when updating PTE and TLB entries in entry.S
authorJohn David Anglin <dave.anglin@bell.net>
Fri, 10 May 2013 23:21:38 +0000 (23:21 +0000)
committerHelge Deller <deller@gmx.de>
Sat, 11 May 2013 19:13:04 +0000 (21:13 +0200)
commitf0a18819e261afc5fdbd8c5c6f9943123c5461ba
treed931ef9634976eec903b87de8c2b2dc029918db8
parent416821d3d68164909b2cbcf398e4ba0797f5f8a2
parisc: fix SMP races when updating PTE and TLB entries in entry.S

Currently, race conditions exist in the handling of TLB interruptions in
entry.S.  In particular, dirty bit updates can be lost if an accessed
interruption occurs just after the dirty bit interruption on a different
cpu.  Lost dirty bit updates result in user pages not being flushed and
general system instability.  This change adds lock and unlock macros to
synchronize all PTE and TLB updates done in entry.S.  As a result,
userspace stability is significantly improved.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/entry.S