linux/arch
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
..
alpha [PATCH] mm: arch do_page_fault() vs in_atomic() 2006-12-07 08:39:21 -08:00
arm [PATCH] mm: arch do_page_fault() vs in_atomic() 2006-12-07 08:39:21 -08:00
arm26 [PATCH] mm: arch do_page_fault() vs in_atomic() 2006-12-07 08:39:21 -08:00
avr32 AVR32: Add missing return instruction in __raw_writesb 2006-11-06 14:07:16 +01:00
cris [PATCH] mm: arch do_page_fault() vs in_atomic() 2006-12-07 08:39:21 -08:00
frv [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
h8300 [NET]: H8300 checksum annotations and cleanups. 2006-12-02 21:23:04 -08:00
i386 [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
ia64 [PATCH] shared page table for hugetlb page 2006-12-07 08:39:21 -08:00
m32r [NET]: M32R checksum annotations and cleanups. 2006-12-02 21:23:06 -08:00
m68k [PATCH] mm: arch do_page_fault() vs in_atomic() 2006-12-07 08:39:21 -08:00
m68knommu [PATCH] m68knommu: switch 68360 to using rtc_time 2006-12-06 07:41:26 -08:00
mips [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
parisc [PATCH] mm: arch do_page_fault() vs in_atomic() 2006-12-07 08:39:21 -08:00
powerpc [PATCH] shared page table for hugetlb page 2006-12-07 08:39:21 -08:00
ppc WorkQueue: Fix up arch-specific work items where possible 2006-12-05 19:36:26 +00:00
s390 [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
sh [PATCH] shared page table for hugetlb page 2006-12-07 08:39:21 -08:00
sh64 [PATCH] mm: arch do_page_fault() vs in_atomic() 2006-12-07 08:39:21 -08:00
sparc [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
sparc64 [PATCH] shared page table for hugetlb page 2006-12-07 08:39:21 -08:00
um [PATCH] uml: workqueue build fix 2006-12-07 08:39:20 -08:00
v850 [NET]: V850 checksum annotations and cleanups. 2006-12-02 21:23:13 -08:00
x86_64 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2006-12-05 14:37:56 +00:00
xtensa [PATCH] vmlinux.lds: consolidate initcall sections 2006-10-27 15:34:51 -07:00