Messages in this thread | | | Date | Wed, 09 May 2012 10:10:35 +0800 | From | Alex Shi <> | Subject | Re: [PATCH v3 4/7] x86/tlb: add tlb flush all factor for specific CPUs |
| |
>
> This uses x86_model without qualifying it x86 (family), however that is > meaningless. All the CPUs you are dealing with above have c->x86 == 6, > but you need to handle others correctly (even if that just means > defaulting it to zero.) > > One way to do that is to do: > > switch ((c->x86 << 8) + c->x86_model) { > > ... and use numbers like 0x62d instead of 45.
Yes, this is better, thanks!
> > -hpa > >
| |