Re: Patch: linux-2.5.8-pre1/kernel/exit.c change caused BUG() atboot

george anzinger (george@mvista.com)
Thu, 04 Apr 2002 12:09:06 -0800


Linus Torvalds wrote:
>
> On 4 Apr 2002, Robert Love wrote:
> >
> > Eh, maybe - what about all the code that sets non-running before putting
> > itself on a wait queue?
>
> In most cases that code will call a schedule itself.
>
> Of course, we might make just ZOMBIE a special case, but in general I
> think it's simply absolutely wrong for the preemption to change task
> internal data structures on its own.
>
Amen!

> Linus
>

-- 
George Anzinger   george@mvista.com
High-res-timers:  http://sourceforge.net/projects/high-res-timers/
Real time sched:  http://sourceforge.net/projects/rtsched/
Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/