From: John David Anglin Date: Fri, 10 May 2013 23:21:38 +0000 (+0000) Subject: parisc: fix SMP races when updating PTE and TLB entries in entry.S X-Git-Tag: v3.10-rc2~33^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0a18819e261afc5fdbd8c5c6f9943123c5461ba;p=pandora-kernel.git 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 Signed-off-by: Helge Deller --- Reading git-diff-tree failed