Re: smp/up alternatives crash when CONFIG_HOTPLUG_CPU

From: Andi Kleen
Date: Thu Apr 20 2006 - 03:45:14 EST


Ingo Molnar <mingo@xxxxxxx> writes:
>
> but ... a more fundamental question is, where does the SMP-alternatives
> code flush the icache? I dont think it's generally guaranteed on x86
> CPUs that MESI updates to code get propagated into the icache of other
> CPUs/cores.

Are you sure? I thought it was. Of course there can be bugs in this,
but I'm not aware of any on K8 or recent Intel CPUs. If that didn't
work much more things would be broken too (program/module loading,
JITs)

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