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

Re: [Xen-devel] [PATCH v8 03/13] x86: maintain COS to CBM mapping for each socket



>>> On 01.06.15 at 10:05, <chao.p.peng@xxxxxxxxxxxxxxx> wrote:
> 2)  Unfeasible to allocate memory first and do initialization later in
> cpu hotplug notifications. My former approach is performing both the
> allocation and initialization in the CPU_STARTING, which is not a good
> idea indicated by Jan.

Considering

         info->cos_max = min(opt_cos_max, edx & 0xffff);

I don't see why you couldn't do an allocation using opt_cos_max
in CPU_UP_PREPARE, potentially not using all of the slots later
on.

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®.