Re: [patch] sched: unlocked context-switches

From: Richard Henderson
Date: Sun Apr 10 2005 - 02:25:38 EST


On Sat, Apr 09, 2005 at 03:46:12PM -0700, David S. Miller wrote:
> 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.

Alpha does the switch in PALmode, which is never interruptable.


r~
-
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/