Re: [PATCH] sched/deadline: Derive root domain from active cpu in task's cpus_ptr
From: Peter Zijlstra
Date: Tue Sep 30 2025 - 05:04:45 EST
On Tue, Sep 30, 2025 at 08:20:06AM +0100, Juri Lelli wrote:
> I actually wonder if we shouldn't make cppc_fie a "special" DEADLINE
> tasks (like schedutil [1]). IIUC that is how it is thought to behave
> already [2], but, since it's missing the SCHED_FLAG_SUGOV flag(/hack),
> it is not "transparent" from a bandwidth tracking point of view.
>
> 1 - https://elixir.bootlin.com/linux/v6.17/source/kernel/sched/cpufreq_schedutil.c#L661
> 2 - https://elixir.bootlin.com/linux/v6.17/source/drivers/cpufreq/cppc_cpufreq.c#L198
Right, I remember that hack. Bit sad its spreading, but this CPPC thing
is very much like the schedutil one, so might as well do that I suppose.