Re: [PATCH] x86/smp: Drop booting_cpu

2025-05-12 Thread Jan Beulich
On 12.05.2025 14:00, Andrew Cooper wrote: > Since commit 434596bbd44a ("x86/smpboot: Write the top-of-stack block in > cpu_smpboot_alloc()"), smp_processor_id() is unconditionally usable on APs. > Drop the global variable. > > Also drop the parameter from start_secondary(). It was introduced as u

[PATCH] x86/smp: Drop booting_cpu

2025-05-12 Thread Andrew Cooper
Since commit 434596bbd44a ("x86/smpboot: Write the top-of-stack block in cpu_smpboot_alloc()"), smp_processor_id() is unconditionally usable on APs. Drop the global variable. Also drop the parameter from start_secondary(). It was introduced as unused in commit e9ac3bbccab0 ("Move initial stack-po