linux/arch/mips
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
..
arc Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
au1000 [MIPS] IRQ cleanups 2006-11-30 01:14:46 +00:00
basler/excite [MIPS] Complete fixes after removal of pt_regs argument to int handlers. 2006-10-08 02:38:28 +01:00
boot Add .gitignore files for MIPS. 2005-11-07 18:05:37 +00:00
cobalt [MIPS] Rewrite GALILEO_INL/GALILEO_OUTL to GT_READ/GT_WRITE 2006-11-30 01:14:43 +00:00
configs [MIPS] Update tb0287_defconfig 2006-10-19 17:55:14 +01:00
ddb5xxx [MIPS] IRQ cleanups 2006-11-30 01:14:46 +00:00
dec [MIPS] *-berr: Header inclusions for DEC bus error handlers 2006-12-06 20:16:09 +00:00
emma2rh [MIPS] Compile __do_IRQ() when really needed 2006-12-06 20:16:08 +00:00
gt64120 [MIPS] IRQ cleanups 2006-11-30 01:14:46 +00:00
jazz [MIPS] Compile __do_IRQ() when really needed 2006-12-06 20:16:08 +00:00
jmr3927 [MIPS] mips HPT cleanup: make clocksource_mips public 2006-11-30 01:14:49 +00:00
kernel Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2006-12-06 16:17:37 -08:00
lasat [MIPS] Compile __do_IRQ() when really needed 2006-12-06 20:16:08 +00:00
lib [MIPS] Unify csum_partial.S 2006-12-04 22:43:13 +00:00
lib-32 [MIPS] Unify csum_partial.S 2006-12-04 22:43:13 +00:00
lib-64 [MIPS] Unify csum_partial.S 2006-12-04 22:43:13 +00:00
math-emu [MIPS] Make sure cpu_has_fpu is used only in atomic context 2006-10-09 23:20:48 +01:00
mips-boards [MIPS] Fix double inclusions 2006-11-30 01:14:47 +00:00
mm [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
momentum [MIPS] Compile __do_IRQ() when really needed 2006-12-06 20:16:08 +00:00
oprofile [MIPS] Oprofile: kernel support for the R10000. 2006-11-30 01:14:45 +00:00
pci [MIPS] Rewrite GALILEO_INL/GALILEO_OUTL to GT_READ/GT_WRITE 2006-11-30 01:14:43 +00:00
philips/pnx8550 [MIPS] Compile __do_IRQ() when really needed 2006-12-06 20:16:08 +00:00
pmc-sierra [MIPS] mips hpt cleanup: get rid of mips_hpt_init 2006-11-30 01:14:46 +00:00
qemu [MIPS] Complete fixes after removal of pt_regs argument to int handlers. 2006-10-08 02:38:28 +01:00
sgi-ip22 [MIPS] Compile __do_IRQ() when really needed 2006-12-06 20:16:08 +00:00
sgi-ip27 [MIPS] Compile __do_IRQ() when really needed 2006-12-06 20:16:08 +00:00
sgi-ip32 [MIPS] IRQ cleanups 2006-11-30 01:14:46 +00:00
sibyte [MIPS] SWARM: Fix a typo in #error directives 2006-12-04 22:43:13 +00:00
sni [MIPS] IRQ cleanups 2006-11-30 01:14:46 +00:00
tx4927 [MIPS] Compile __do_IRQ() when really needed 2006-12-06 20:16:08 +00:00
tx4938 [MIPS] Compile __do_IRQ() when really needed 2006-12-06 20:16:08 +00:00
vr41xx [MIPS] Compile __do_IRQ() when really needed 2006-12-06 20:16:08 +00:00
defconfig [MIPS] lockdep: update defconfigs 2006-10-01 23:16:57 +01:00
Kconfig [MIPS] Compile __do_IRQ() when really needed 2006-12-06 20:16:08 +00:00
Kconfig.debug [MIPS] TRACE_IRQFLAGS_SUPPORT support. 2006-07-13 21:26:09 +01:00
Makefile [MIPS] Load modules to CKSEG0 if CONFIG_BUILD_ELF64=n 2006-11-30 01:14:44 +00:00