linux-stable-rt/arch/mips/mm
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
..
Makefile
c-r3k.c
c-r4k.c [MIPS] Avoid dupliate D-cache flush on R400C / R4400 SC and MC variants. 2006-11-30 01:14:48 +00:00
c-sb1.c [MIPS] Hack for SB1 cache issues 2006-11-22 23:34:01 +00:00
c-tx39.c
cache.c
cerr-sb1.c
cex-gen.S
cex-sb1.S
dma-coherent.c
dma-ip27.c
dma-ip32.c
dma-noncoherent.c
extable.c
fault.c [MIPS] Load modules to CKSEG0 if CONFIG_BUILD_ELF64=n 2006-11-30 01:14:44 +00:00
highmem.c [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
init.c [MIPS] Make free_init_pages() arguments to be physical addresses 2006-11-30 01:14:42 +00:00
ioremap.c [MIPS] Fix iounmap argument to const volatile. 2006-10-19 17:55:14 +01:00
pg-r4k.c [MIPS] 16K & 64K page size fixes 2006-11-01 17:46:09 +00:00
pg-sb1.c
pgtable-32.c [MIPS] Fix aliasing bug in copy_to_user_page / copy_from_user_page 2006-10-21 23:17:35 +01:00
pgtable-64.c [MIPS] Load modules to CKSEG0 if CONFIG_BUILD_ELF64=n 2006-11-30 01:14:44 +00:00
pgtable.c
sc-ip22.c
sc-mips.c
sc-r5k.c
sc-rm7k.c
tlb-r3k.c
tlb-r4k.c
tlb-r8k.c
tlbex-fault.S
tlbex.c [MIPS] Load modules to CKSEG0 if CONFIG_BUILD_ELF64=n 2006-11-30 01:14:44 +00:00