diff options
author | Steven Price <steven.price@arm.com> | 2022-04-11 17:22:33 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2022-04-13 21:27:41 +0200 |
commit | d308077e5e4dc8c93f97f5ebc70274e7c7a92d49 (patch) | |
tree | 7d4128c5e26bcddf97c2765bf1a5f002f1e9e152 /lib/debug_locks.c | |
parent | Merge branch 'smp/urgent' into smp/core (diff) | |
download | linux-d308077e5e4dc8c93f97f5ebc70274e7c7a92d49.tar.xz linux-d308077e5e4dc8c93f97f5ebc70274e7c7a92d49.zip |
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 'lib/debug_locks.c')
0 files changed, 0 insertions, 0 deletions