[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/6] x86/shadow: remove pointless loops over all vCPU-s
At 08:05 -0700 on 12 Dec (1513065939), Jan Beulich wrote: > The vCPU count can be had more directly. > > Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Tim Deegan <tim@xxxxxxx> > In the sh_make_shadow() case the question is whether it really was > intended to count all vCPU-s, rather than e.g. only all initialized > ones. I guess the problem would be the phase before the guest > actually starts secondary processors, but that could perhaps be > covered by using ->max_vcpus if otherwise 1 would result. Yes, the intention was to count 'active' vcpus in both cases. I'm OK with the change though, and I don't think it's worth making things any more complex here. Cheers, Tim. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |