79ae2cb856
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> |
||
---|---|---|
.. | ||
skas | ||
tt | ||
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 | ||
ptrace.c | ||
reboot.c | ||
resource.c | ||
sigio_kern.c | ||
sigio_user.c | ||
signal_kern.c | ||
signal_user.c | ||
smp.c | ||
syscall_kern.c | ||
syscall.c | ||
sysrq.c | ||
time_kern.c | ||
time.c | ||
tlb.c | ||
trap_kern.c | ||
trap_user.c | ||
tty_log.c | ||
uaccess_user.c | ||
um_arch.c | ||
umid.c | ||
uml.lds.S | ||
user_util.c | ||
vmlinux.lds.S |