Re: [Xen-devel] [Patch v3 1/2] x86/smp: count the number of online physical processor in the system

2018-05-16 Thread Jan Beulich
>>> On 09.05.18 at 00:01, 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)

[Xen-devel] [Patch v3 1/2] x86/smp: count the number of online physical processor in the system

2018-05-08 Thread Chao Gao
Mainly for the patch behind which relies on 'nr_phys_cpus' to estimate the time needed for microcode update in the worst case. Signed-off-by: Chao Gao --- v3: - new --- xen/arch/x86/smpboot.c| 13 + xen/include/asm-x86/smp.h | 3 +++ 2 files changed, 16