Re: [PATCH] BUG(): sched.c: Line 944

From: Linus Torvalds (
Date: Mon Sep 16 2002 - 17:26:57 EST

On 16 Sep 2002, Robert Love wrote:
> But, ugh, more fun: we preempt_disable() in do_exit(). Every exiting
> task hits the test. My syslog is huge.
> At least for now, can we please revert the check to in_interrupt() ?

I really think the test is correct, and if we revert it now, we certainly
won't be able to re-introduce it later when we're closer to 2.6.

So if the in_atomic() change is enough to fix everything but do_exit(),
then how about just making do_exit() use PREEMPT_ACTIVE instead?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:17 EST