Re: [patch] sched: unlocked context-switches

From: David S. Miller
Date: Sat Apr 09 2005 - 17:51:44 EST


On Sat, 09 Apr 2005 19:22:23 +1000
Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> wrote:

> ppc64 already has a local_irq_save/restore in switch_to, around the low
> level asm bits, so it should be fine.

Sparc64 essentially does as well. In fact, it uses an IRQ disable
which is stronger than local_irq_save in that it disables reception
of CPU cross-calls as well.
-
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/