From: Tejun Heo <tj@kernel.org>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: linux-rt-devel@lists.linux.dev, cgroups@vger.kernel.org,
linux-kernel@vger.kernel.org, "Ingo Molnar" <mingo@redhat.com>,
"Peter Zijlstra" <peterz@infradead.org>,
"Juri Lelli" <juri.lelli@redhat.com>,
"Vincent Guittot" <vincent.guittot@linaro.org>,
"Dietmar Eggemann" <dietmar.eggemann@arm.com>,
"Steven Rostedt" <rostedt@goodmis.org>,
"K Prateek Nayak" <kprateek.nayak@amd.com>,
"Johannes Weiner" <hannes@cmpxchg.org>,
"Michal Koutný" <mkoutny@suse.com>,
"John Ogness" <john.ogness@linutronix.de>,
"Shrikanth Hegde" <sshegde@linux.ibm.com>,
"luca abeni" <luca.abeni@santannapisa.it>,
"Yuri Andriaccio" <yurand2000@gmail.com>,
"Yuri Andriaccio" <yuri.andriaccio@santannapisa.it>
Subject: Re: [PATCH] sched: Remove CONFIG_RT_GROUP_SCHED
Date: Thu, 5 Nov 2026 07:19:27 -1000 [thread overview]
Message-ID: <auy6nyTUuHBlgrV_@slm.duckdns.org> (raw)
In-Reply-To: <20261105164724.yxONBd03@linutronix.de>
Hello, Sebastian.
On Thu, Nov 05, 2026 at 05:47:24PM +0100, Sebastian Andrzej Siewior wrote:
> The RT_GROUP_SCHED is broken beyond repair and it is to not enable it
> during compile. If enabled it is recommended to disable it at boot time
> with the rt_group_sched= option.
> With it enabled it is not possible to set the policy of a task to
> SCHED_{FIFO|RR} because its cgroup has no runtime assigned. The runtime
> can not be assigned with cgroup v2. The root group has however all the
> runtime assigned meaning the global sysctl runtime parameter
> (sched_rt_runtime_us) can no be reduced because the new bandwidth will
> be less than what is current available.
> It is possible to schedule SCHED_DEADLINE tasks but the admission
> control is stuck can only be disabled via -1 (same sysctl parameter).
>
> As a result all major distors (Debian, Open Suse, Fedora, Archlinux)
> have it disabled.
>
> I don't think it is needed to somehow fix RT_GROUP_SCHED. The DL fair
> server already handles the RT throttling mechanism. There is work on
> Hierarchical constant bandwidth server (HCBS) which aim to group
> multiple real-time tasks within one deadline configuration.
>
> Remove CONFIG_RT_GROUP_SCHED.
>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
I'm not against it but wonder whether it'd be useful to do it more gradually
so that people can pipe up if they depend on it. ie. Mark it deprecated and
put it behind EXPORT for a bit and then BROKEN before actual removal.
Thanks.
--
tejun
next prev parent reply other threads:[~2026-11-05 17:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-05 16:47 Sebastian Andrzej Siewior
2026-11-05 17:19 ` Tejun Heo [this message]
2026-11-05 19:30 ` Sebastian Andrzej Siewior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=auy6nyTUuHBlgrV_@slm.duckdns.org \
--to=tj@kernel.org \
--cc=bigeasy@linutronix.de \
--cc=cgroups@vger.kernel.org \
--cc=dietmar.eggemann@arm.com \
--cc=hannes@cmpxchg.org \
--cc=john.ogness@linutronix.de \
--cc=juri.lelli@redhat.com \
--cc=kprateek.nayak@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-devel@lists.linux.dev \
--cc=luca.abeni@santannapisa.it \
--cc=mingo@redhat.com \
--cc=mkoutny@suse.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=sshegde@linux.ibm.com \
--cc=vincent.guittot@linaro.org \
--cc=yurand2000@gmail.com \
--cc=yuri.andriaccio@santannapisa.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®