Re: [PATCH v3 4/7] x86/tlb: add tlb flush all factor for specificCPUs

From: H. Peter Anvin
Date: Tue May 08 2012 - 12:41:22 EST


On 05/08/2012 08:56 AM, Andi Kleen wrote:
>
>> This seems a bit concerning from a forward compatibility point of view.
>> It would make more sense to assume that future processors would behave
>> more like the most recent (Sandy Bridge in your case) unless there is
>> evidence to the contrary.
> This would not work on new Atoms, which inter mix model numbers.
>

That is another problem, but there isn't much we (as the Linux
community) can do about that, so we can just do the optimistic thing...

> In the past I did a hack in other software to check the cache sizes to
> distinguish the two
> for unknown models It's not pretty however.

Ick.

-hpa

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