diff options
author | 2025-05-05 14:57:58 +0200 | |
---|---|---|
committer | 2025-05-20 08:43:24 +0200 | |
commit | 4cc7543eb494daae7d6282e17459e1b06eff82aa (patch) | |
tree | f1386b59f4274a6982d4e01497c8f9df5617ebc2 /scripts/lib/kdoc/kdoc_output.py | |
parent | MIPS: Replace strcpy() with strscpy() in vpe_elfload() (diff) | |
download | linux-rng-4cc7543eb494daae7d6282e17459e1b06eff82aa.tar.xz linux-rng-4cc7543eb494daae7d6282e17459e1b06eff82aa.zip |
MIPS: SMP: Move the AP sync point before the non-parallel aware functions
When CONFIG_HOTPLUG_PARALLEL is enabled, the code executing before
cpuhp_ap_sync_alive() is executed in parallel, while after it is
serialized. The functions set_cpu_sibling_map() and set_cpu_core_map()
were not designed to be executed in parallel, so by moving the
cpuhp_ap_sync_alive() before cpuhp_ap_sync_alive(), we then ensure
they will be called serialized.
The measurement done on EyeQ5 did not show any relevant boot time
increase after applying this patch.
Fixes: 76c43eb507bc ("MIPS: SMP: Implement parallel CPU bring up for EyeQ")
Reported-by: Huacai Chen <chenhuacai@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions