[PATCH 6.12.y 0/7] timers/migration: Backport fixes and cleanups from 6.18.y

From: Ionut Nechita

Date: Fri Mar 20 2026 - 16:46:25 EST


From: "Ionut Nechita" <ionut.nechita@xxxxxxxxxxxxx>

This series backports 7 upstream commits to the timer migration
subsystem for linux-6.12.y stable.

The most important patch is 7/7 which fixes imbalanced NUMA trees in
the timer migration hierarchy (Fixes: 7ee988770326). Patches 5/7 and
6/7 are its stable dependencies (Stable-dep-of: 5eb579dfd46b). The
remaining patches are cleanups and annotations that complete the
backport.

After applying this series, kernel/time/timer_migration.c and
kernel/time/timer_migration.h match linux-6.18.y exactly.

All patches are clean cherry-picks with no conflicts.

Upstream commits:
4477b0601471 ("timer/migration: Fix kernel-doc warnings for union tmigr_state")
922efd298bb2 ("timers/migration: Annotate accesses to ignore flag")
dcf6230555dc ("timers/migration: Simplify top level detection on group setup")
ff56a3e2a861 ("timers/migration: Clean up the loop in tmigr_quick_check()")
e21665bac15c ("timers/migration: Convert "while" loops to use "for"")
cc25b81fe0ea ("timers/migration: Remove locking on group connection")
d4b3a4c2aa7b ("timers/migration: Fix imbalanced NUMA trees")

Frederic Weisbecker (5):
timers/migration: Annotate accesses to ignore flag
timers/migration: Simplify top level detection on group setup
timers/migration: Convert "while" loops to use "for"
timers/migration: Remove locking on group connection
timers/migration: Fix imbalanced NUMA trees

Petr Tesarik (1):
timers/migration: Clean up the loop in tmigr_quick_check()

Randy Dunlap (1):
timer/migration: Fix kernel-doc warnings for union tmigr_state

kernel/time/timer_migration.c | 296 ++++++++++++++++++----------------
kernel/time/timer_migration.h | 21 ++-
2 files changed, 167 insertions(+), 150 deletions(-)

--
2.53.0