Re: [RFC PATCH v4 16/28] sched/rt: Remove old RT_GROUP_SCHED data structures
From: Juri Lelli
Date: Wed Jan 21 2026 - 06:14:09 EST
Hello,
On 01/12/25 13:41, Yuri Andriaccio wrote:
> From: luca abeni <luca.abeni@xxxxxxxxxxxxxxx>
>
> Completely remove the old RT_GROUP_SCHED's functions and data structures:
>
> - Remove the fields back and my_q from sched_rt_entity.
> - Remove the rt_bandwidth data structure.
> - Remove the field rt_bandwidth from task_group.
> - Remove the rt_bandwidth_enabled function.
> - Remove the fields rt_queued, rt_throttled, rt_time, rt_runtime,
> rt_runtime_lock and rt_nr_boosted from rt_rq.
>
> All of the removed fields and data are similarly represented in previously
> added fields in rq, rt_rq, dl_bandwidth and in the dl server themselves.
>
> Co-developed-by: Yuri Andriaccio <yurand2000@xxxxxxxxx>
> Signed-off-by: Yuri Andriaccio <yurand2000@xxxxxxxxx>
> Signed-off-by: luca abeni <luca.abeni@xxxxxxxxxxxxxxx>
> ---
This looks all good.
While we are cleaning up stuff, maybe we could remove/update this
comment as well
https://elixir.bootlin.com/linux/v6.18-rc6/source/kernel/sched/sched.h#L334
Best,
Juri