android_kernel_xiaomi_sm8350/arch/arm/mm
Peter Zijlstra 6edaf68a87 [PATCH] mm: arch do_page_fault() vs in_atomic()
In light of the recent pagefault and filemap_copy_from_user work I've gone
through all the arch pagefault handlers to make sure the inc_preempt_count()
'feature' works as expected.

Several sections of code (including the new filemap_copy_from_user) rely on
the fact that faults do not take locks under increased preempt count.

arch/x86_64 - good
arch/powerpc - good
arch/cris - fixed
arch/i386 - good
arch/parisc - fixed
arch/sh - good
arch/sparc - good
arch/s390 - good
arch/m68k - fixed
arch/ppc - good
arch/alpha - fixed
arch/mips - good
arch/sparc64 - good
arch/ia64 - good
arch/arm - fixed
arch/um - good
arch/avr32 - good
arch/h8300 - NA
arch/m32r - good
arch/v850 - good
arch/frv - fixed
arch/m68knommu - NA
arch/arm26 - fixed
arch/sh64 - fixed
arch/xtensa - good

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 08:39:21 -08:00
..
abort-ev4.S
abort-ev4t.S
abort-ev5t.S
abort-ev5tj.S
abort-ev6.S
abort-lv4t.S [ARM] nommu: abort handler fixup for !CPU_CP15_MMU cores. 2006-09-28 20:15:46 +01:00
abort-macro.S
abort-nommu.S [ARM] nommu: abort handler fixup for !CPU_CP15_MMU cores. 2006-09-28 20:15:46 +01:00
alignment.c [ARM] do_bad_area() always takes current and current->active_mm 2006-09-27 16:13:48 +01:00
cache-v3.S
cache-v4.S [ARM] nommu: manage the CP15 things 2006-09-27 17:34:30 +01:00
cache-v4wb.S
cache-v4wt.S
cache-v6.S
consistent.c [ARM] 3942/1: ARM: comment: consistent_sync should not be called directly 2006-11-22 22:45:57 +00:00
context.c [ARM] Move mmu.c out of the way 2006-09-20 14:58:35 +01:00
copypage-v3.S
copypage-v4mc.c [ARM] Cleanup arch/arm/mm a little 2006-09-20 14:58:35 +01:00
copypage-v4wb.S
copypage-v4wt.S
copypage-v6.c [ARM] Cleanup arch/arm/mm a little 2006-09-20 14:58:35 +01:00
copypage-xsc3.S
copypage-xscale.c [ARM] Cleanup arch/arm/mm a little 2006-09-20 14:58:35 +01:00
discontig.c
extable.c
fault-armv.c
fault.c [PATCH] mm: arch do_page_fault() vs in_atomic() 2006-12-07 08:39:21 -08:00
fault.h [ARM] do_bad_area() always takes current and current->active_mm 2006-09-27 16:13:48 +01:00
flush.c [ARM] 3853/1: Fix flush_ptrace_access() thinko for nonaliasing VIPT cache case 2006-09-25 10:34:04 +01:00
init.c [ARM] 3927/1: Allow show_mem() to work with holes in memory map. 2006-11-07 19:39:00 +00:00
iomap.c
ioremap.c [PATCH] arm: it's OK to pass pointer to volatile as iounmap() argument... 2006-10-08 18:50:58 -07:00
Kconfig Fix misc Kconfig typos 2006-11-30 05:22:59 +01:00
Makefile [ARM] nommu: abort handler fixup for !CPU_CP15_MMU cores. 2006-09-28 20:15:46 +01:00
mm.h [ARM] Move rest of MMU setup code from mm-armv.c to mmu.c 2006-09-27 15:38:34 +01:00
mmap.c [ARM] 3813/1: prevent >= 4G /dev/mem mmap() 2006-09-25 10:25:26 +01:00
mmu.c [ARM] Fix XIP_KERNEL build error in arch/arm/mm/mmu.c 2006-09-30 10:50:05 +01:00
nommu.c [ARM] Add setup_mm_for_reboot() for nommu 2006-09-27 15:43:47 +01:00
pgd.c [ARM] Rename mm-armv.c to pgd.c 2006-09-27 15:40:28 +01:00
proc-arm6_7.S
proc-arm7tdmi.S [ARM] nommu: add ARM7TDMI core support 2006-09-27 17:39:17 +01:00
proc-arm9tdmi.S [ARM] nommu: abort handler fixup for !CPU_CP15_MMU cores. 2006-09-28 20:15:46 +01:00
proc-arm720.S [PATCH] ARM: Fixup missing includes in arch/arm/mm/proc-<cputype>.S 2006-07-02 17:29:22 -07:00
proc-arm740.S [ARM] nommu: add ARM740T core support 2006-09-27 17:39:17 +01:00
proc-arm920.S
proc-arm922.S
proc-arm925.S [ARM] Fix bad asm instruction in proc-arm925.S 2006-07-03 12:44:30 +01:00
proc-arm926.S [ARM] 3773/1: Add the HWCAP_VFP bit for the ARM926 CPUs 2006-09-06 19:03:28 +01:00
proc-arm940.S [ARM] nommu: abort handler fixup for !CPU_CP15_MMU cores. 2006-09-28 20:15:46 +01:00
proc-arm946.S [ARM] nommu: abort handler fixup for !CPU_CP15_MMU cores. 2006-09-28 20:15:46 +01:00
proc-arm1020.S [ARM] More missing proc-macros.S includes 2006-07-03 12:36:07 +01:00
proc-arm1020e.S [ARM] More missing proc-macros.S includes 2006-07-03 12:36:07 +01:00
proc-arm1022.S [ARM] More missing proc-macros.S includes 2006-07-03 12:36:07 +01:00
proc-arm1026.S [ARM] More missing proc-macros.S includes 2006-07-03 12:36:07 +01:00
proc-macros.S
proc-sa110.S [PATCH] ARM: Fixup missing includes in arch/arm/mm/proc-<cputype>.S 2006-07-02 17:29:22 -07:00
proc-sa1100.S [PATCH] ARM: Fixup missing includes in arch/arm/mm/proc-<cputype>.S 2006-07-02 17:29:22 -07:00
proc-syms.c [ARM] 3737/1: Export ARM copy/clear_user_page symbols 2006-07-29 08:29:27 +01:00
proc-v6.S
proc-xsc3.S
proc-xscale.S [ARM] 3912/1: Make PXA270 advertise HWCAP_IWMMXT capability 2006-11-02 22:58:53 +00:00
tlb-v3.S
tlb-v4.S
tlb-v4wb.S
tlb-v4wbi.S
tlb-v6.S