Re: [PATCH v14 7/7] timers: Exclude isolated cpus from timer migration
From: Gabriele Monaco
Date: Mon Nov 10 2025 - 08:06:33 EST
On Tue, 2025-11-04 at 11:47 +0100, Gabriele Monaco wrote:
> The timer migration mechanism allows active CPUs to pull timers from
> idle ones to improve the overall idle time. This is however undesired
> when CPU intensive workloads run on isolated cores, as the algorithm
> would move the timers from housekeeping to isolated cores, negatively
> affecting the isolation.
>
> Exclude isolated cores from the timer migration algorithm, extend the
> concept of unavailable cores, currently used for offline ones, to
> isolated ones:
> * A core is unavailable if isolated or offline;
> * A core is available if non isolated and online;
>
> ...
>
> +/* Enabled during late initcall */
> +DEFINE_STATIC_KEY_FALSE(tmigr_exclude_isolated);
> +
I forgot to mark this as static:
+static DEFINE_STATIC_KEY_FALSE(tmigr_exclude_isolated);
will send a new version after getting a review/comments.
Frederic, Thomas, besides that, does this series look ready to you?
Thanks,
Gabriele