lkml.org 
[lkml]   [2012]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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
>
>




\
 
 \ /
  Last update: 2012-05-09 04:41    [W:0.034 / U:1.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site