Re: [RFC PATCH v4 01/28] sched/deadline: Do not access dl_se->rq directly
From: Juri Lelli
Date: Wed Jan 14 2026 - 06:04:01 EST
Hello!
And Happy New Year! :)
On 01/12/25 13:41, Yuri Andriaccio wrote:
> From: luca abeni <luca.abeni@xxxxxxxxxxxxxxx>
>
> Make deadline.c code access the runqueue of a scheduling entity saved in
> the sched_dl_entity data structure. This allows future patches to save
> different runqueues in sched_dl_entity other than the global runqueues.
>
> Move dl_server_apply_params call in sched_init_dl_servers as the
> rq_of_dl_se function will return the correct deadline entity only if the
> dl_server flag is set.
s/deadline entity/runqueue/ in the above, right?
> Add a WARN_ON on the return value of dl_server_apply_params in
> sched_init_dl_servers as this function may fail if the kernel is not
> configured correctly.
>
> Signed-off-by: luca abeni <luca.abeni@xxxxxxxxxxxxxxx>
> Signed-off-by: Yuri Andriaccio <yurand2000@xxxxxxxxx>
Apart from that
Reviewed-by: Juri Lelli <juri.lelli@xxxxxxxxxx>
Thanks!
Juri