[libvirt] [PATCH v2] Report more correct information for cache control

Eli Qiao qiaoliyong at gmail.com
Mon Jun 12 03:37:05 UTC 2017

Thanks martin, 

Looks good to me. 

On Friday, 9 June 2017 at 4:52 PM, Martin Kletzander wrote:

> On some platforms the number of bits in the cbm_mask might not be
> divisible by 4 (and not even by 2), so we need to properly count the
> bits. Similar file, min_cbm_bits, is properly parsed and used, but if
> the number is greater than one, we lose the information about
> granularity when reporting the data in capabilities. For that matter
> always report granularity, but if it is not the same as the minimum,
> add that information in there as well.
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com (mailto:mkletzan at redhat.com)>
> ---
> v2:
> - More expressive comments for structure members
> - Cache size adjusted to match the SKX machine (33M)
> v1:
> - https://www.redhat.com/archives/libvir-list/2017-June/msg00229.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170612/dcbaa01e/attachment-0001.htm>

More information about the libvir-list mailing list