]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
parisc: disable UP-optimized flush_tlb_mm
authorKyle McMartin <kyle@infradead.org>
Tue, 23 Dec 2008 13:44:30 +0000 (08:44 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Dec 2008 01:03:21 +0000 (17:03 -0800)
commit5289f46b9de04bde181d833d48df9671b69c4b08
tree88bb3dbdb11e181cc267cb56c3c19e42e3630dbd
parent8960223d5973b3eaf8cbc1984969bb6c7661e7b9
parisc: disable UP-optimized flush_tlb_mm

flush_tlb_mm's "optimized" uniprocessor case of allocating a new
context for userspace is exposing a race where we can suddely return
to a syscall with the protection id and space id out of sync, trapping
on the next userspace access.

Debugged-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Tested-by: Helge Deller <deller@gmx.de>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/parisc/include/asm/tlbflush.h