kernel_optimize_test/arch/um
Jeff Dike 5f4e8fd08f [PATCH] uml: fix thread startup race
This fixes a race in the starting of write_sigio_thread.  Previously, some of
the data needed by the thread was initialized after the clone.  If the thread
ran immediately, it would see the uninitialized data, including an empty
pollfds, which would cause it to hang.

We move the data initialization to before the clone, and adjust the error
paths and cleanup accordingly.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-27 08:44:38 -08:00
..
drivers [PATCH] uml: allow ubd devices to be shared in a cluster 2006-03-27 08:44:38 -08:00
include [PATCH] uml: oS header cleanups 2006-03-27 08:44:38 -08:00
kernel [PATCH] uml: move tty logging to os-Linux 2006-03-27 08:44:38 -08:00
os-Linux [PATCH] uml: fix thread startup race 2006-03-27 08:44:38 -08:00
scripts
sys-i386 [PATCH] uml: fix segfault on signal delivery 2006-03-27 08:44:38 -08:00
sys-ia64
sys-ppc
sys-x86_64 [PATCH] uml: fix segfault on signal delivery 2006-03-27 08:44:38 -08:00
config.release
defconfig
Kconfig [PATCH] uml: arch Kconfig menu cleanups 2006-01-18 19:20:21 -08:00
Kconfig.char
Kconfig.debug
Kconfig.i386 [PATCH] um: fix undefined reference to hweight32 2006-03-26 08:57:09 -08:00
Kconfig.net
Kconfig.scsi
Kconfig.x86_64 [PATCH] um: fix undefined reference to hweight32 2006-03-26 08:57:09 -08:00
Makefile kbuild: change kbuild to not rely on incorrect GNU make behavior 2006-03-06 00:09:51 +01:00
Makefile-i386
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas
Makefile-tt
Makefile-x86_64