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

From: Jamie Lokier
Date: Mon Oct 06 2003 - 12:08:11 EST


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