android_kernel_xiaomi_sm8350/arch/sparc/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
..
btfixup.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
extable.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fault.c
generic.c
highmem.c [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
hypersparc.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
init.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
io-unit.c [SPARC]: Initialize iounit spinlock in iounit_init(). 2006-07-21 14:18:13 -07:00
iommu.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
loadmmu.c
Makefile
nosrmmu.c
nosun4c.c
srmmu.c [SPARC32]: Mark srmmu_nocache_init as __init. 2006-10-11 23:56:52 -07:00
sun4c.c [PATCH] Standardize pxx_page macros 2006-09-26 08:48:51 -07:00
swift.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tsunami.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
viking.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00