linux/arch/sparc
Peter Zijlstra a866374aec [PATCH] mm: pagefault_{disable,enable}()
Introduce pagefault_{disable,enable}() and use these where previously we did
manual preempt increments/decrements to make the pagefault handler do the
atomic thing.

Currently they still rely on the increased preempt count, but do not rely on
the disabled preemption, this might go away in the future.

(NOTE: the extra barrier() in pagefault_disable might fix some holes on
       machines which have too many registers for their own good)

[heiko.carstens@de.ibm.com: s390 fix]
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Nick Piggin <npiggin@suse.de>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 08:39:21 -08:00
..
boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel [SPARC]: Fix robust futex syscalls and wire up migrate_pages. 2006-11-05 16:51:03 -08:00
lib [PATCH] sparc32 rwlock fix 2006-10-08 12:32:35 -07:00
math-emu kbuild: use relative path to -I 2006-04-04 16:56:10 +02:00
mm [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
oprofile [SPARC]: Add sparc profiling support 2006-10-17 19:28:53 -07:00
prom [SPARC]: Kill prom_getname, unused and not implemented properly. 2006-07-21 14:17:55 -07:00
Kconfig Fix misc Kconfig typos 2006-11-30 05:22:59 +01:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [SPARC]: Add sparc profiling support 2006-10-17 19:28:53 -07:00
defconfig [SPARC32]: Revert IOMAP change eb98129eec 2005-10-10 21:02:26 -07:00