Re: SCHED_DEADLINE tasks missing their deadline with SCHED_FLAG_RECLAIM jobs in the mix (using GRUB)

From: Juri Lelli
Date: Wed Jun 25 2025 - 06:14:15 EST


On 25/06/25 11:30, Juri Lelli wrote:

...

> It looks like (at least at my end) it comes from
>
> task_non_contending()
> sub_running_bw()
> __sub_running_bw()
> WARN_ON_ONCE(dl_rq->running_bw > old); /* underflow */
>
> I would guess the later initialization of dl-server is not playing well
> wrt running_bw. Will take a look.

I pushed another fixup adding a check for dl_server_active in
dl_server_stop(). It seems to cure the WARN here.

Could you please pull and re-test?