]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
timers/migration: Assert that hotplug preparing CPU is part of stable active hierarchy
authorFrederic Weisbecker <frederic@kernel.org>
Fri, 24 Oct 2025 13:25:34 +0000 (15:25 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 1 Nov 2025 19:38:25 +0000 (20:38 +0100)
commit3c8eb36e2a46786d50dbef417ef782ff37b372ca
treedacdcae6fb768b5d11e6638ece7a4d1ca2715dfd
parent5eb579dfd46b4949117ecb0f1ba2f12d3dc9a6f2
timers/migration: Assert that hotplug preparing CPU is part of stable active hierarchy

The CPU doing the prepare work for a remote target must be online from
the tree point of view and its hierarchy must be active, otherwise
propagating its active state up to the new root branch would be either
incorrect or racy.

Assert those conditions with more sanity checks.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251024132536.39841-5-frederic@kernel.org
kernel/time/timer_migration.c