kernel-ark/arch/um/kernel
Paolo 'Blaisorblade' Giarrusso 79ae2cb856 [PATCH] uml: use GFP_ATOMIC for allocations under spinlocks.
setup_initial_poll is only called with sigio_lock() held, so use appropriate
allocation.

Also, parse_chan() can also be called when holding a spinlock (see line_open()
 -> parse_chan_pair()).

I have sporadic problems (spinlock taken twice, with spinlock debugging on UP)
which could be caused by a sequence like "take spinlock, alloc and go to
sleep, take again the spinlock in the other thread".

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:37 -07:00
..
skas [PATCH] uml: remove verify_area_{tt,skas} 2005-09-21 16:16:29 -07:00
tt [PATCH] uml: fix hang in TT mode on fault 2005-09-22 22:17:36 -07:00
asm-offsets.c
config.c.in
dyn.lds.S
exec_kern.c
exitcode.c
gmon_syms.c
gprof_syms.c
helper.c [PATCH] uml: preserve errno in error paths 2005-09-17 11:50:00 -07:00
init_task.c [PATCH] uml: move libc code out of mem_user.c and tempfile.c 2005-09-17 11:50:00 -07:00
initrd.c
irq_user.c
irq.c
ksyms.c
main.c
Makefile [PATCH] uml: merge mem_user.c and mem.c 2005-09-17 11:50:00 -07:00
mem.c [PATCH] uml: merge mem_user.c and mem.c 2005-09-17 11:50:00 -07:00
physmem.c
process_kern.c [PATCH] uml: Fix GFP_ flags usage 2005-09-22 22:17:37 -07:00
ptrace.c
reboot.c
resource.c
sigio_kern.c
sigio_user.c [PATCH] uml: use GFP_ATOMIC for allocations under spinlocks. 2005-09-22 22:17:37 -07:00
signal_kern.c
signal_user.c
smp.c
syscall_kern.c
syscall.c
sysrq.c
time_kern.c
time.c
tlb.c [PATCH] uml: fix condition in tlb flush 2005-09-22 22:17:36 -07:00
trap_kern.c [PATCH] uml: avoid fixing faults while atomic 2005-09-22 22:17:36 -07:00
trap_user.c
tty_log.c
uaccess_user.c
um_arch.c [PATCH] uml: move libc code out of mem_user.c and tempfile.c 2005-09-17 11:50:00 -07:00
umid.c [PATCH] strlcat: use for uml umid.c 2005-09-22 22:17:36 -07:00
uml.lds.S
user_util.c [PATCH] uml: fix uname output on 32-bit binary on 64-bit host 2005-09-21 16:16:30 -07:00
vmlinux.lds.S