android_kernel_xiaomi_sm7250/arch
Paolo 'Blaisorblade' Giarrusso fea03cb40a [PATCH] uml: avoid fixing faults while atomic
Following i386, we should maybe refuse trying to fault in pages when we're
doing atomic operations, because to handle the fault we could need to take
already taken spinlocks.

Also, if we're doing an atomic operation (in the sense of in_atomic()) we're
surely in kernel mode and we're surely going to handle adequately the failed
fault, so it's safe to behave this way.

Currently, on UML SMP is rarely used, and we don't support PREEMPT, so this is
unlikely to create problems right now, but it might in the future.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-22 22:17:36 -07:00
..
alpha [PATCH] alpha: fix kernel panic during SysRq-b 2005-09-22 22:17:34 -07:00
arm [ARM] 2932/1: Avoid the "noreturn" warning in arch/arm/kernel/traps.c 2005-09-21 22:14:05 +01:00
arm26 [PATCH] Remove arch/arm26/boot/compressed/hw-bse.c 2005-09-17 11:49:59 -07:00
cris kbuild: rename prepare to archprepare to fix dependency chain 2005-09-11 22:30:22 +02:00
frv kbuild: frv,m32r,sparc64 introduce fake asm-offsets.h file 2005-09-09 22:47:53 +02:00
h8300 kbuild: h8300,m68knommu,sh,sh64 use generic asm-offsets.h support 2005-09-09 20:28:49 +02:00
i386 [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
ia64 [IA64] MCA recovery verify pfn_valid 2005-09-22 13:27:59 -07:00
m32r [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
m68k Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2005-09-09 15:46:49 -07:00
m68knommu [PATCH] m68knommu: startup code for the Drangen Engine 68328 based board 2005-09-12 20:04:15 -07:00
mips [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
parisc [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
ppc [PATCH] ppc64: SMU driver update & i2c support 2005-09-22 22:17:35 -07:00
ppc64 [PATCH] ppc64: SMU driver update & i2c support 2005-09-22 22:17:35 -07:00
s390 [PATCH] s390: kernel stack corruption 2005-09-17 11:49:59 -07:00
sh kbuild: rename prepare to archprepare to fix dependency chain 2005-09-11 22:30:22 +02:00
sh64 kbuild: rename prepare to archprepare to fix dependency chain 2005-09-11 22:30:22 +02:00
sparc [SPARC]: Fix dot-symbol exporting for good. 2005-09-11 20:14:07 -07:00
sparc64 [SPARC64]: Verify vmalloc TLB misses more strictly. 2005-09-20 12:18:38 -07:00
um [PATCH] uml: avoid fixing faults while atomic 2005-09-22 22:17:36 -07:00
v850 [PATCH] V850: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
x86_64 [PATCH] update URL for HPET spec. 2005-09-21 10:12:18 -07:00
xtensa [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00