Re: 2.6.6-mm2

From: Oleg Nesterov
Date: Thu May 13 2004 - 07:41:28 EST


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.

Could you please explain, why it is needed?

Oleg.
-
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/