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
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
init_task.c
initrd.c
irq_user.c
irq.c
ksyms.c
main.c
Makefile
mem.c
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
umid.c [PATCH] strlcat: use for uml umid.c 2005-09-22 22:17:36 -07:00
uml.lds.S
user_util.c
vmlinux.lds.S