android_kernel_xiaomi_sm8350/arch/um
Paolo 'Blaisorblade' Giarrusso b6a2b13778 [PATCH] uml: sigio code - reduce spinlock hold time
In a previous patch I shifted an allocation to being atomic.

In this patch, a better but more intrusive solution is implemented, i.e.  hold
the lock only when really needing it, especially not over pipe operations, nor
over the culprit allocation.

Additionally, while at it, add a missing kfree in the failure path, and make
sure that if we fail in forking, write_sigio_pid is -1 and not, say, -ENOMEM.

And fix whitespace, at least for things I was touching anyway.

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-01-18 19:20:21 -08:00
..
drivers [PATCH] uml: fix spinlock recursion and sleep-inside-spinlock in error path 2006-01-18 19:20:21 -08:00
include [PATCH] uml: use setjmp/longjmp instead of sigsetjmp/siglongjmp 2006-01-18 19:20:20 -08:00
kernel [PATCH] uml: sigio code - reduce spinlock hold time 2006-01-18 19:20:21 -08:00
os-Linux [PATCH] uml: implement soft interrupts 2006-01-18 19:20:20 -08:00
scripts [PATCH] uml: arch/um/scripts/Makefile.rules - remove duplicated code 2005-12-18 11:19:44 -08:00
sys-i386 [PATCH] uml: move LDT creation 2006-01-18 19:20:18 -08:00
sys-ia64
sys-ppc
sys-x86_64 [PATCH] uml: fix missing KBUILD_BASENAME 2006-01-11 18:42:09 -08:00
config.release
defconfig
Kconfig [PATCH] uml: update Kconfig help 2006-01-11 18:42:09 -08:00
Kconfig.char
Kconfig.debug
Kconfig.i386 [PATCH] uml: fixups for "reuse i386 cpu-specific tuning" 2005-11-13 18:14:14 -08:00
Kconfig.net
Kconfig.scsi
Kconfig.x86_64 [PATCH] uml: fix "reuse i386 cpu optimizations" 2005-10-30 17:37:16 -08:00
Makefile [PATCH] uml: move headers to arch/um/include 2006-01-18 19:20:19 -08:00
Makefile-i386 [PATCH] uml: fixups for "reuse i386 cpu-specific tuning" 2005-11-13 18:14:14 -08:00
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas
Makefile-tt
Makefile-x86_64 [PATCH] uml: fix dynamic linking on some 64-bit distros 2005-12-18 11:19:44 -08:00