[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 1/2] x86/cpuid: Drop a guests cached x86 family and model information



>>> On 13.01.17 at 14:56, <andrew.cooper3@xxxxxxxxxx> wrote:
> The model information isn't used at all, and the family information is only
> used once.
> 
> Make get_cpu_family() a static inline (as it is just basic calculation, and
> the function call is probably more expensive than the function itself) and
> rearange the logic to avoid calculating model entirely if the caller doesn't
> want it.
> 
> Calculate a guests family only when necessary in hvm_select_ioreq_server().
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.