summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2026-10-09 11:07:24 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2026-10-14 14:33:10 +0100
commite21f4de88acaa9f417b8bde54a9c33b4cec33f10 (patch)
treea56df9264feeffea1062147e186255f62432203b /tools/perf/scripts/python/flamegraph.py
parent6a52689f698a1755b0fa3cafb7bdf2b6356da731 (diff)
arm64: smp: Defer RCU registration during secondary CPU bringup
Calling rcutree_report_cpu_starting() early during boot can lead to livelocks with the generic CPU hotplug mechanism if the boot CPU blocks on an RCU grace period while the CPU being onlined is spinning in cpuhp_ap_sync_alive(). In preparation for enabling the generic CPU hotplug code on arm64, split up the trace_hardirqs_off() call during secondary CPU bringup so that we update lockdep early but defer the tracing updates until after the new CPU has been registered with RCU, which itself is deferred until after the early CPU compatibility checks, allowing us to drop the explicit call to rcutree_report_cpu_dead() entirely. Signed-off-by: Will Deacon <will@kernel.org> Tested-by: Michael Kelley <mhklinux@outlook.com> Tested-by: Jinjie Ruan <ruanjinjie@huawei.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions