aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2006-03-27 01:14:40 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 08:44:38 -0800
commit5f4e8fd08f3993bc31a7dd91767fdb4da4fe6278 (patch)
tree8bd66ec07c3051d6f6e09fc53c7f2bde20c3c67d /fs
parent1fbbd6844e6a84e5d166ab475dc298d3b89fa4bf (diff)
downloadkernel_samsung_tuna-5f4e8fd08f3993bc31a7dd91767fdb4da4fe6278.zip
kernel_samsung_tuna-5f4e8fd08f3993bc31a7dd91767fdb4da4fe6278.tar.gz
kernel_samsung_tuna-5f4e8fd08f3993bc31a7dd91767fdb4da4fe6278.tar.bz2
[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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions