[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 Mon, May 18, 2015 at 02:35:39PM +0100, Jan Beulich wrote: > >>> 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? info is already per-socket data so the dimension here is for only one socket. Chao _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |