From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: luca abeni <luca.abeni@santannapisa.it>
Cc: "Yuri Andriaccio" <yurand2000@gmail.com>,
"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>,
"Ben Segall" <bsegall@google.com>, "Mel Gorman" <mgorman@suse.de>,
"Valentin Schneider" <vschneid@redhat.com>,
"K Prateek Nayak" <kprateek.nayak@amd.com>,
"Tejun Heo" <tj@kernel.org>,
"Johannes Weiner" <hannes@cmpxchg.org>,
"Michal Koutný" <mkoutny@suse.com>,
cgroups@vger.kernel.org, linux-kernel@vger.kernel.org,
"Yuri Andriaccio" <yuri.andriaccio@santannapisa.it>
Subject: Re: [RFC PATCH v7 06/29] sched/rt: Disable RT_GROUP_SCHED
Date: Fri, 4 Dec 2026 13:19:31 +0100 [thread overview]
Message-ID: <20261204121931.USF6yN22@linutronix.de> (raw)
In-Reply-To: <20261204124609.1c423198@linux.fritz.box>
On 2026-12-04 12:46:09 [+0100], luca abeni wrote:
> Hi,
>
> On Fri, 4 Dec 2026 11:26:41 +0100
> Sebastian Andrzej Siewior <bigeasy@linutronix.de> wrote:
>
> > On 2026-11-09 17:35:52 [+0100], Yuri Andriaccio wrote:
> > > Disable the old RT_GROUP_SCHED scheduler. Note that this does not
> > > completely remove all the RT_GROUP_SCHED functionality, just
> > > unhooks it and removes most of the relevant functions. Some of the
> > > RT_GROUP_SCHED functions are kept because they will be adapted for
> > > the HCBS scheduling.
> >
> > What is not obvious to me, will RT_GROUP_SCHED remain after this
> > series?
>
> We started working on this patchset after looking at
> Documentation/scheduler/sched-rt-group.rst, which mentions deadline
> scheduling of the real-time control groups (this is what we originally
> tried to do). So, the plan was to change the RT_GROUP_SCHED
> implementation, but not the config option, and to stay with a
> compatible interface.
>
> Later, we were suggested to go v2-only (if I understand well), so the
> original plan changed but we stayed with the RT_GROUP_SCHED config
> option. If this approach is wrong, we'll change it.
The old is broken in my opinion. I tried to get rid of it because people
trying to use it were always complaining it is not working right. It is
v1 only, too.
We don't do cgroup-v1 these days and PREEMPT_RT support lacks some of
v1 as far as I recall. The general advice is to do v2 and don't care
about v1 since it is legacy anyway.
In
https://lore.kernel.org/all/20261123-sched_dl-v4-0-d523e4d960d3@linutronix.de/
I tried to rip it out but then I got yelled at and now I try to mark it
BROKEN so it can be removed later.
If this HCBS is a new thing, it might get its own name and there is no
need to put it in RT_GROUP_SCHED clothes. After a few patches later (in
this series) a few of those sysfs files were removed. So the interface
is not the same or missing something.
I can't tell if an application/ setup using RT_GROUP_SCHED can
seamlessly switch to this HCBS replacement or not.
Therefore, if HSBC is just fixing RT_GROUP_SCHED and replacing it piece
by piece maybe name it as such.
Also as part of my series (referenced above) I was going to move the
global DL config out of /proc and so uncouple it from RT throttling what
it once was (which is now limited to RT-GROUPs).
But if you have some global knobs that you would like to have I would
suggest to have it sysfs and part of stable ABI and identified as such.
So that it is more or less obvious that it is a new thing maybe with
new/ different global switches if any at all.
Sebastian
next prev parent reply other threads:[~2026-12-04 12:19 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 16:35 [RFC PATCH v7 00/29] Hierarchical Constant Bandwidth Server Yuri Andriaccio
2026-11-09 16:35 ` [RFC PATCH v7 01/29] sched/deadline: Introduce dl_freq_invariant flag for fair/ext servers Yuri Andriaccio
2026-11-09 16:35 ` [RFC PATCH v7 02/29] sched/deadline: Do not access dl_se->rq directly Yuri Andriaccio
2026-11-09 16:35 ` [RFC PATCH v7 03/29] sched/deadline: Distinguish between dl_rq and my_q Yuri Andriaccio
2026-11-09 16:35 ` [RFC PATCH v7 04/29] sched/rt: Pass an rt_rq instead of an rq where needed Yuri Andriaccio
2026-11-09 16:35 ` [RFC PATCH v7 05/29] sched/rt: Move functions from rt.c to sched.h Yuri Andriaccio
2026-11-09 16:35 ` [RFC PATCH v7 06/29] sched/rt: Disable RT_GROUP_SCHED Yuri Andriaccio
2026-12-04 10:26 ` Sebastian Andrzej Siewior
2026-12-04 11:46 ` luca abeni
2026-12-04 12:19 ` Sebastian Andrzej Siewior [this message]
2026-11-09 16:35 ` [RFC PATCH v7 07/29] sched/rt: Remove unnecessary runqueue pointer in struct rt_rq Yuri Andriaccio
2026-11-09 16:35 ` [RFC PATCH v7 08/29] sched/rt: Introduce HCBS specific structs in task_group Yuri Andriaccio
2026-11-09 16:35 ` [RFC PATCH v7 09/29] sched/core: Initialize HCBS specific structures Yuri Andriaccio
2026-11-09 16:35 ` [RFC PATCH v7 10/29] sched/deadline: Add dl_init_tg Yuri Andriaccio
2026-11-09 16:35 ` [RFC PATCH v7 11/29] sched/rt: Add {alloc/unregister/free}_rt_sched_group Yuri Andriaccio
2026-11-09 16:35 ` [RFC PATCH v7 12/29] sched/deadline: Account rt-cgroups bandwidth in deadline tasks schedulability tests Yuri Andriaccio
2026-11-09 16:35 ` [RFC PATCH v7 13/29] sched/rt: Implement dl-server operations for rt-cgroups Yuri Andriaccio
2026-11-09 16:36 ` [RFC PATCH v7 14/29] sched/rt: Update task event callbacks for HCBS scheduling Yuri Andriaccio
2026-11-09 16:36 ` [RFC PATCH v7 15/29] sched/rt: Remove support for cgroups-v1 Yuri Andriaccio
2026-12-04 11:10 ` Sebastian Andrzej Siewior
2026-11-09 16:36 ` [RFC PATCH v7 16/29] sched/rt: Update rt-cgroup schedulability checks Yuri Andriaccio
2026-11-09 16:36 ` [RFC PATCH v7 17/29] sched/rt: Update task's RT runqueue when switching scheduling class Yuri Andriaccio
2026-11-09 16:36 ` [RFC PATCH v7 18/29] sched/rt: Remove old RT_GROUP_SCHED data structures Yuri Andriaccio
2026-11-09 16:36 ` [RFC PATCH v7 19/29] sched/rt: Add HCBS migration code to related functions Yuri Andriaccio
2026-11-09 16:36 ` [RFC PATCH v7 20/29] sched/rt: Hook HCBS migration functions Yuri Andriaccio
2026-11-09 16:36 ` [RFC PATCH v7 21/29] sched/core: Execute enqueued balance callbacks when changing allowed CPUs Yuri Andriaccio
2026-11-09 16:36 ` [RFC PATCH v7 22/29] sched/rt: Try pull task on empty server pick Yuri Andriaccio
2026-11-09 16:36 ` [RFC PATCH v7 23/29] sched/core: Execute enqueued balance callbacks after migrate_disable_switch Yuri Andriaccio
2026-11-09 16:36 ` [RFC PATCH v7 24/29] sched/syscalls: Allow unpriviledged tasks to set RT priority inside cgroups Yuri Andriaccio
2026-11-09 16:36 ` [RFC PATCH v7 25/29] sched/rt: Enable HRTICK_DL for HCBS servers Yuri Andriaccio
2026-11-09 16:36 ` [RFC PATCH v7 26/29] Documentation: Update documentation for real-time cgroups Yuri Andriaccio
2026-11-09 16:36 ` [RFC PATCH v7 27/29] sched/rt: Integrate cpuset and cpu controllers Yuri Andriaccio
2026-11-09 16:36 ` [RFC PATCH v7 28/29] sched/rt: Prevent CPU offline operation on active rt-cgroups Yuri Andriaccio
2026-11-09 16:36 ` [RFC PATCH v7 29/29] sched/rt: Introduce multi-cpu support Yuri Andriaccio
2026-11-10 21:43 ` [RFC PATCH v7 00/29] Hierarchical Constant Bandwidth Server Tejun Heo
2026-11-11 17:56 ` Yuri Andriaccio
2026-11-17 15:49 ` Juri Lelli
2026-11-18 8:07 ` Tejun Heo
2026-11-19 11:23 ` Juri Lelli
2026-11-19 14:27 ` luca abeni
2026-11-19 14:36 ` Juri Lelli
2026-11-19 14:42 ` luca abeni
2026-11-19 14:14 ` luca abeni
2026-11-20 6:46 ` Tejun Heo
2026-11-20 11:06 ` luca abeni
2026-11-20 11:55 ` Tejun Heo
2026-11-20 20:24 ` luca abeni
2026-11-21 17:24 ` Tejun Heo
2026-11-23 7:43 ` luca abeni
2026-11-23 10:22 ` Juri Lelli
2026-11-23 14:18 ` luca abeni
2026-11-26 7:25 ` Juri Lelli
2026-11-26 7:43 ` luca abeni
2026-11-26 7:49 ` Juri Lelli
2026-11-26 7:58 ` luca abeni
2026-11-26 8:02 ` Juri Lelli
2026-11-26 14:57 ` luca abeni
2026-11-26 16:33 ` Juri Lelli
2026-11-27 14:26 ` luca abeni
2026-11-28 2:05 ` Tejun Heo
2026-11-27 11:48 ` Peter Zijlstra
2026-11-27 14:35 ` Juri Lelli
2026-11-28 7:22 ` Tejun Heo
2026-11-30 13:38 ` Peter Zijlstra
2026-11-27 15:09 ` luca abeni
2026-11-30 13:45 ` Peter Zijlstra
2026-11-16 14:25 ` Juri Lelli
2026-11-17 13:00 ` Yuri Andriaccio
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=20261204121931.USF6yN22@linutronix.de \
--to=bigeasy@linutronix.de \
--cc=bsegall@google.com \
--cc=cgroups@vger.kernel.org \
--cc=dietmar.eggemann@arm.com \
--cc=hannes@cmpxchg.org \
--cc=juri.lelli@redhat.com \
--cc=kprateek.nayak@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luca.abeni@santannapisa.it \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=mkoutny@suse.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=tj@kernel.org \
--cc=vincent.guittot@linaro.org \
--cc=vschneid@redhat.com \
--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