Re: idt change in a running kernel? what locking?

From: Catalin BOIE
Date: Mon Oct 06 2003 - 23:38:41 EST


On Mon, 6 Oct 2003, Jamie Lokier wrote:

> Catalin BOIE wrote:
> > What I realy want is to reload idt on every cpu.
> > So, probably on_each_cpu is the way to go, right?
>
> Yes. If you also want to synchronise the changes, so that all CPUs
> appear to change idt at the same instant, you'll need some extra
> locking.
>
> -- Jamie

Thanks!

---
Catalin(ux) BOIE
catab@xxxxxxxxxxxxxxx
-
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/