• Linus Torvalds's avatar
    Fix subtle fork() race that Ingo noticed. · f7a1132c
    Linus Torvalds authored
    We must not mark the process TASK_STOPPED early, because
    that might allow a signal to wake it up before we actually
    got to the "wake_up_forked_process()" state. Total confusion
    would happen.
    
    Make wake_up_forked_process() verify the new world order.
    f7a1132c
sched.c 70.9 KB