Re: [GIT PULL] x86/cpu changes for v2.6.34

From: H. Peter Anvin
Date: Sat Feb 27 2010 - 15:06:51 EST


On 02/27/2010 09:10 AM, Arjan van de Ven wrote:
> On Sat, 27 Feb 2010 16:09:42 +0100
> Ingo Molnar <mingo@xxxxxxx> wrote:
>
>> +int wbinvd_on_all_cpus(void)
>> +{
>> + return on_each_cpu(__wbinvd, NULL, 1);
>> +}
>
> does this make sense at all?
>
> doesn't cache coherency on x86 already guarantee this?
>

No, WBINVD (unlike CLFLUSH) is local to one CPU.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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