[PATCH] use x86 cpu park to speedup smp_init in kexec situation

2020-12-15 Thread shenkai (D)
From: shenkai Date: Tue, 15 Dec 2020 01:58:06 + Subject: [PATCH] use x86 cpu park to speedup smp_init in kexec situation In kexec reboot on x86 machine, APs will be halted and then waked up by the apic INIT and SIPI interrupt. Here we can let APs spin instead of being halted and boot APs by

Re: [PATCH] use x86 cpu park to speedup smp_init in kexec situation

2020-12-16 Thread shenkai (D)
在 2020/12/16 5:20, Thomas Gleixner 写道: On Tue, Dec 15 2020 at 08:31, Andy Lutomirski wrote: On Tue, Dec 15, 2020 at 6:46 AM shenkai (D) wrote: From: shenkai Date: Tue, 15 Dec 2020 01:58:06 + Subject: [PATCH] use x86 cpu park to speedup smp_init in kexec situation In kexec reboot on x86

Re: [PATCH] use x86 cpu park to speedup smp_init in kexec situation

2020-12-16 Thread shenkai (D)
在 2020/12/16 18:12, Thomas Gleixner 写道: Kai, On Wed, Dec 16 2020 at 16:45, shenkai wrote: 在 2020/12/16 5:20, Thomas Gleixner 写道: Thanks for your and Andy's precious comments. I would like to take a try on reconstructing this patch to make it more decent and generic. It would be

Re: [PATCH] use x86 cpu park to speedup smp_init in kexec situation

2020-12-17 Thread shenkai (D)
在 2020/12/16 23:31, Thomas Gleixner 写道: OTOH, the advantage of INIT/SIPI is that the AP comes up in a well known state. We can set APs to a known state explicitly like BSP will do in kexec case (what we also tried to do in the patch). Maybe it is not a big problem? Best regards Kai