Re: [RFC PATCH v2 18/25] sched/rt: Zero rt-cgroups default bandwidth

From: Juri Lelli
Date: Thu Aug 14 2025 - 10:26:27 EST


Hi!

On 31/07/25 12:55, Yuri Andriaccio wrote:
> Set the default rt-cgroups runtime to zero, otherwise a cgroup-v1 kernel will
> not be able to start SCHED_DEADLINE tasks. The bandwidth for rt-cgroups must

Well, we disabled v1 support at this point with the previous patch,
didn't we? :)

> then be manually assigned after the kernel boots.
>
> Allow zeroing the runtime of the root control group. This runtime only affects
> the available bandwidth of the rt-cgroup hierarchy but not the SCHED_FIFO /
> SCHED_RR tasks on the global runqueue.
>
> Notes:
> Disabling the root control group bandwidth should not cause any side effect, as
> SCHED_FIFO / SCHED_RR tasks do not depend on it since the introduction of
> fair_servers.

I believe this deserves proper documentation.

Thanks,
Juri