summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSteven Price <steven.price@arm.com>2022-04-11 16:22:33 +0100
committerThomas Gleixner <tglx@linutronix.de>2022-04-13 21:27:41 +0200
commitd308077e5e4dc8c93f97f5ebc70274e7c7a92d49 (patch)
tree7d4128c5e26bcddf97c2765bf1a5f002f1e9e152 /arch
parent3927368bebe2e7af4ae18bdd77e02aa0d2629411 (diff)
downloadlinux-d308077e5e4dc8c93f97f5ebc70274e7c7a92d49.tar.bz2
cpu/hotplug: Initialise all cpuhp_cpu_state structs earlier
Rather than waiting until a CPU is first brought online, do the initialisation of the cpuhp_cpu_state structure for each CPU during the __init phase. This saves a (small) amount of non-__init memory and avoids potential confusion about when the cpuhp_cpu_state struct is valid. Suggested-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Steven Price <steven.price@arm.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20220411152233.474129-3-steven.price@arm.com
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions