[PATCH 0/6] timers/migration: Handle heterogenous CPU capacities

From: Frederic Weisbecker

Date: Thu Apr 23 2026 - 12:54:28 EST


Hi,

This is a late follow-up after:

https://lore.kernel.org/lkml/20250910074251.8148-1-sehee1.jeong@xxxxxxxxxxx/

To summarize, heterogenous capacity CPUs migrate their timers
indifferently between big and little CPUs. And this happens to be often
migrated to big CPUs, increasing their idle target residency.

Thomas proposed to isolate the hierarchy between big and little CPUs.
So here is a try. Note I haven't tested on real heterogenous hardware
so if you have it, please test it!

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
timers/core

HEAD: f0a87af6dab6f3a6dd8a603a2b9d7dcc86fd50e4
Thanks,
Frederic
---

Frederic Weisbecker (6):
timers/migration: Fix another hotplug activation race
timers/migration: Abstract out hierarchy to prepare for CPU capacity awareness
timers/migration: Track CPUs in a hierarchy
timers/migration: Split per-capacity hierarchies
timers/migration: Handle capacity in connect tracepoints
scripts/timers: Add timer_migration_tree.py

include/trace/events/timer_migration.h | 24 ++--
kernel/time/timer_migration.c | 246 ++++++++++++++++++++++++---------
kernel/time/timer_migration.h | 19 +++
scripts/timer_migration_tree.py | 122 ++++++++++++++++
4 files changed, 337 insertions(+), 74 deletions(-)