Re: 2.6.6-mm2

From: Andrew Morton
Date: Thu May 13 2004 - 13:30:16 EST


Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>
> Hello.
>
> Andrew Morton wrote:
> >
> > +yield_irq.patch
> >
> > From: Nick Piggin
> >
> > this_rq_lock does a local_irq_disable, and sched_yield()
> > needs to undo that.
>
> I beleive it is safe to enter schedule() with interrupts
> disabled. schedule() does spin_lock_irq()->local_irq_disable()
> anyway.

True.

> Could you please explain, why it is needed?
>

It was triggering false positives during debugging of the x86_64 gcc-3.3.3
problem and it's just a tidiness thing, really.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/