Re: [PATCH] sched/deadline: Fix dl_server_stopped()

From: Huacai Chen
Date: Tue Aug 12 2025 - 06:24:01 EST


On Tue, Aug 12, 2025 at 5:19 PM Juri Lelli <juri.lelli@xxxxxxxxxx> wrote:
>
> Hi,
>
> On 09/08/25 21:04, Huacai Chen wrote:
> > Commit cccb45d7c429 ("sched/deadline: Less agressive dl_server handling")
> > introduces dl_server_stopped(). But it is obvious that dl_server_stopped()
> > should return true if dl_se->dl_server_active is 0.
> >
> > Fixes: cccb45d7c429 ("sched/deadline: Less agressive dl_server handling")
> > Signed-off-by: Huacai Chen <chenhuacai@xxxxxxxxxxx>
>
> This looks correct.
>
> Acked-by: Juri Lelli <juri.lelli@xxxxxxxxxx>
>
> > ---
> > I found that after commit cccb45d7c429 ("sched/deadline: Less agressive
> > dl_server handling") there is always a message "sched: DL replenish lagged
> > too much" after boot. Then I found this bug, but unfortunately this patch
> > cannot wipe the message.
>
> Does
>
> https://lore.kernel.org/lkml/20250615131129.954975-1-kuyo.chang@xxxxxxxxxxxx/
>
> help with the issue?
Yes, this patch can solve my problem.

Huacai

>
> Thanks,
> Juri
>