>>> On 01.06.15 at 10:05, <chao.p.p...@linux.intel.com> 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@lists.xen.org http://lists.xen.org/xen-devel