Re: 2.6.6-mm2

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


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()

Could you please explain, why it is needed?

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