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

Ingo Molnar
2002-09-17T16:14:26Z

On Tue, 17 Sep 2002, Linus Torvalds wrote:

> On the other hand, we do have other ways to test the preempt count
> inside the scheduler. In particular, we might just move the
> "in_atomic()" check a few lines downwards, at which point we've released
> the kernel lock and explicitly disabled preemption, so at that point the
> test should be even simpler with fewer conditionals..

indeed ...

Ingo