On Mon, May 18, 2015 at 02:35:39PM +0100, Jan Beulich wrote:
> >>> On 08.05.15 at 10:56, <chao.p.p...@linux.intel.com> 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?

info is already per-socket data so the dimension here is for only one
socket.

Chao

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

Reply via email to