Re: [RFC PATCH v4 08/28] sched/core: Initialize HCBS specific structures.

From: Juri Lelli

Date: Fri Jan 16 2026 - 09:09:28 EST


Hello,

On 01/12/25 13:41, Yuri Andriaccio wrote:
> From: luca abeni <luca.abeni@xxxxxxxxxxxxxxx>
>
> - Update autogroups' creation/destruction to use the new data structures.
> - Initialize the default bandwidth for rt-cgroups (sched_init).
> - Initialize rt-scheduler's specific data structures for the root control
> group (sched_init).
> - Change signature of init_tg_rt_entry to accept a rq pointer for the
> local runqueue and a dl_se pointer for the global runqueue / dl_server
> entity, update the function to initialize the newly added HCBS fields.
> - Add utility functions to check (and get) if a rt_rq entity is connected
> to a rt-cgroup.

I personally prefer a more discursive style, but yeah I'm definitely
nitpicking, so feel free to ignore. :)

> Co-developed-by: Alessio Balsini <a.balsini@xxxxxxxx>
> Signed-off-by: Alessio Balsini <a.balsini@xxxxxxxx>
> Co-developed-by: Andrea Parri <parri.andrea@xxxxxxxxx>
> Signed-off-by: Andrea Parri <parri.andrea@xxxxxxxxx>
> Co-developed-by: Yuri Andriaccio <yurand2000@xxxxxxxxx>
> Signed-off-by: Yuri Andriaccio <yurand2000@xxxxxxxxx>
> Signed-off-by: luca abeni <luca.abeni@xxxxxxxxxxxxxxx>

Reviewed-by: Juri Lelli <juri.lelli@xxxxxxxxxx>

Thanks,
Juri