kernel-ark/include
Paolo 'Blaisorblade' Giarrusso 47e5243afe [PATCH] uml: make copy_*_user atomic
Make __copy_*_user_inatomic really atomic to avoid "Sleeping function called in
atomic context" warnings, especially from futex code.

This is made by adding another kmap_atomic slot and making copy_*_user_skas
use kmap_atomic; also copy_*_user() becomes atomic, but that's true and is not
a problem for i386 (and we can always add might_sleep there as done
elsewhere).  For TT mode kmap is not used, so there's no need for this.

I've had to use another slot since both KM_USER0 and KM_USER1 are used
elsewhere and could cause conflicts.  Till now we reused the kmap_atomic slot
list from the subarch, but that's not needed as that list must contain the
common ones (used by generic code) + the ones used in architecture specific
code (and Uml till now used none); so I've taken the i386 one after comparing
it with ones from other archs, and added KM_UML_USERCOPY.

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>
2006-07-01 09:56:03 -07:00
..
acpi
asm-alpha
asm-arm Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
asm-arm26
asm-cris typo fixes: bandwith -> bandwidth 2006-06-30 18:19:55 +02:00
asm-frv
asm-generic
asm-h8300
asm-i386 [PATCH] SMP alternatives: skip with UP kernels 2006-07-01 09:56:02 -07:00
asm-ia64 typo fixes: occuring -> occurring 2006-06-30 18:27:16 +02:00
asm-m32r
asm-m68k
asm-m68knommu
asm-mips
asm-parisc
asm-powerpc typo fixes: mecanism -> mechanism 2006-06-30 18:20:44 +02:00
asm-ppc typo fixes: mecanism -> mechanism 2006-06-30 18:20:44 +02:00
asm-s390 [PATCH] zoned vm counters: create vmstat.c/.h from page_alloc.c/.h 2006-06-30 11:25:34 -07:00
asm-sh
asm-sh64
asm-sparc Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2006-06-29 17:43:43 -07:00
asm-sparc64 [SPARC64]: Kill sun4v virtual device layer. 2006-06-30 14:13:41 -07:00
asm-um [PATCH] uml: make copy_*_user atomic 2006-07-01 09:56:03 -07:00
asm-v850
asm-x86_64 [PATCH] SMP alternatives: skip with UP kernels 2006-07-01 09:56:02 -07:00
asm-xtensa
keys
linux Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2006-06-30 15:40:17 -07:00
math-emu
media V4L/DVB (4270): Add tda9887-specific tuner configuration 2006-06-30 15:59:32 -03:00
mtd
net [IPV6]: Added GSO support for TCPv6 2006-06-30 14:12:10 -07:00
pcmcia
rdma
rxrpc
scsi
sound
video