* Linus Torvalds wrote: > The bug is more than that - we don't do the proper accountign setup > for the CLONE_STOPPED case. Look at all the interactive bias stuff > that doesn't get run at all.. yep, agreed, this is another bug. It is fixed by an existing scheduler patch (queued for 2.6.2, sched-cleanup-2.6.0-A2) but we might want to do it in 2.6.1. I've attached the patch, merged relative to 2.6.1-rc3 + your version of the threading fix. The changelog: - separate out the scheduler-state initializations from the fork path and push them into sched.c. - this also fixes a bug: CLONE_STOPPED tasks were not fully set up. > or, preferably to get rid of the TASK_UNINTERRUPTIBLE special case > altogether, and just say "this function has to be called for something > that is already marked as being running". yep, agreed, your patch is cleaner. (i've test-booted it on SMP, it works fine. I've also test-booted the sched-cleanup patch.) Ingo