[PATCH] x86/smpboot: set topology CPU mask before use.

2017-11-20 Thread ning . a . zhang
From: Zhang Ning we detect topology CPU mask in tsc is used before it is set, it leads to longer bootup time. let's check the code. smpboot.c:smp_callin() ---> calibarate.c:calibrate_delay() ---> tsc.c: calibrate_delay_is_known() --->

[PATCH] x86/smpboot: set topology CPU mask before use.

2017-11-20 Thread ning . a . zhang
From: Zhang Ning we detect topology CPU mask in tsc is used before it is set, it leads to longer bootup time. let's check the code. smpboot.c:smp_callin() ---> calibarate.c:calibrate_delay() ---> tsc.c: calibrate_delay_is_known() ---> topology_core_cpumask(): read