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

Re: [Xen-devel] [PATCH v7 04/14] x86: maintain COS to CBM mapping for each socket



>>> On 08.05.15 at 10:56, <chao.p.peng@xxxxxxxxxxxxxxx> wrote:
> @@ -237,6 +243,14 @@ static void cat_cpu_init(void)
>          info->cbm_len = (eax & 0x1f) + 1;
>          info->cos_max = min(opt_cos_max, edx & 0xffff);
>  
> +        info->cos_to_cbm = xzalloc_array(struct psr_cat_cbm,
> +                                         info->cos_max + 1UL);

How does the array dimension here match the "for each socket"
in the title?

Jan


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


 


Rackspace

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