On 27 May 2001, Andi Kleen wrote:

> I think the right way to fix it is to do a final atomic check for
> softirqs when the kernel is exited. To be atomic this check neededs to
> be done with interrupts off until the kernel exited. [...]

check out my first softirq patch, it does exactly this. (but has the wrong
explanation.)

> [...] The same atomic check is needed for race free check of
> need_schedule (which is still racy on plain i386).

right, this need_resched race is fixed in the lowlatency patchset.

        Ingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to