diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2024-02-13 22:05:59 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-02-15 22:07:44 +0100 |
commit | ea2dd8a5d4361ef0b000196043fa407f05b16f1d (patch) | |
tree | 6ba6656ca3f7e0e0f3a832510e2eb49ea8c172ba /arch/x86/xen/smp.h | |
parent | 7cdcdab1a660bbe9f98bf1591c048ce7ccee59e0 (diff) | |
download | lwn-ea2dd8a5d4361ef0b000196043fa407f05b16f1d.tar.gz lwn-ea2dd8a5d4361ef0b000196043fa407f05b16f1d.zip |
x86/cpu/topology: Assign hotpluggable CPUIDs during init
There is no point in assigning the CPU numbers during ACPI physical
hotplug. The number of possible hotplug CPUs is known when the possible map
is initialized, so the CPU numbers can be associated to the registered
non-present APIC IDs right there.
This allows to put more code into the __init section and makes the related
data __ro_after_init.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Kelley <mhklinux@outlook.com>
Tested-by: Sohil Mehta <sohil.mehta@intel.com>
Link: https://lore.kernel.org/r/20240213210252.517339971@linutronix.de
Diffstat (limited to 'arch/x86/xen/smp.h')
0 files changed, 0 insertions, 0 deletions