android_kernel_xiaomi_sm8350/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 kbuild: um fix so it compile with generic asm-offsets.h support 2005-09-09 23:10:54 +02:00
config.c.in
dyn.lds.S [PATCH] i386 / uml: add dwarf sections to static link script 2005-09-10 12:00:17 -07:00
exec_kern.c
exitcode.c [PATCH] uml: Clean up prink calls 2005-07-28 21:46:05 -07:00
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 [PATCH] uml: add and use generic hw_controller_type->release 2005-06-21 19:07:32 -07:00
irq.c [PATCH] uml: use host AIO support 2005-09-05 00:06:23 -07:00
ksyms.c [PATCH] uml: inline mk_pte and various friends 2005-09-10 12:00:18 -07:00
main.c [PATCH] uml: workaround GDB problems on debugging 2005-09-05 00:06:20 -07:00
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 [PATCH] uml: inline mk_pte and various friends 2005-09-10 12:00:18 -07:00
process_kern.c [PATCH] uml: Fix GFP_ flags usage 2005-09-22 22:17:37 -07:00
ptrace.c
reboot.c [PATCH] Don't export machine_restart, machine_halt, or machine_power_off. 2005-07-26 14:35:42 -07:00
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 [PATCH] convert signal handling of NODEFER to act like other Unix boxes. 2005-08-29 10:03:11 -07:00
signal_user.c
smp.c
syscall_kern.c [PATCH] uml: fork cleanup 2005-06-25 16:24:35 -07:00
syscall.c [PATCH] uml: system call path cleanup 2005-09-05 00:06:23 -07:00
sysrq.c [PATCH] uml: stack dump fix 2005-05-28 16:46:13 -07:00
time_kern.c [PATCH] uml: Fix load average >=1 2005-07-28 21:46:04 -07:00
time.c [PATCH] uml: Proper clone support for skas0 2005-07-07 18:23:44 -07:00
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 [PATCH] uml: remove debugging code from page fault path 2005-09-05 00:06:19 -07:00
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 [PATCH] i386 / uml: add dwarf sections to static link script 2005-09-10 12:00:17 -07:00
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