[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [Patch v3 1/2] x86/smp: count the number of online physical processor in the system
>>> On 09.05.18 at 00:01, <chao.gao@xxxxxxxxx> wrote: > Mainly for the patch behind which relies on 'nr_phys_cpus' to estimate > the time needed for microcode update in the worst case. Leaving aside the aspect of "nr_phys_cpus" not being a suitable name ("nr_online_cores" would come closer imo) I'm not convinced using a global variable is the way to go here, with just that special purpose consumer in the next patch. Why can't you work out this count right there? Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |