Revision 54d8d3b5a0ce1cdbad1d3154c9ea9732d394e9c7 authored by Paolo 'Blaisorblade' Giarrusso on 31 March 2006, 10:30:24 UTC, committed by Linus Torvalds on 31 March 2006, 20:18:52 UTC
Newly forked threads have no arch_switch_to_skas() called before their first
run, because when schedule() switches to them they're resumed in the body of
thread_wait() inside fork_handler() rather than in switch_threads() in
switch_to_skas().  Compensate this missing call.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent dd77aec
History
File Mode Size
Makefile -rw-r--r-- 237 bytes
compat.c -rw-r--r-- 17.3 KB
compat_mq.c -rw-r--r-- 4.0 KB
mqueue.c -rw-r--r-- 29.2 KB
msg.c -rw-r--r-- 18.5 KB
msgutil.c -rw-r--r-- 2.4 KB
sem.c -rw-r--r-- 33.0 KB
shm.c -rw-r--r-- 21.4 KB
util.c -rw-r--r-- 16.9 KB
util.h -rw-r--r-- 2.6 KB

back to top