Fix subtle fork() race that Ingo noticed.
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.
Showing
Please register or sign in to comment