Re: [RFC PATCH] sched/deadline: Avoid dl_server boosting with expired deadline
From: Juri Lelli
Date: Wed Oct 15 2025 - 01:40:25 EST
On 14/10/25 21:33, Peter Zijlstra wrote:
> On Tue, Oct 14, 2025 at 06:01:10PM +0200, Juri Lelli wrote:
>
> > Shouldn't idle time be accounted (subtracted from runtime) as well, though?
>
> Argh, indeed. Then I suppose we should look at bringing some of that
> 'idle-for-whole-period' logic to try and actually stop the timer at some
> point if nothing happens.
That was my initial thought. If we get to that replenish after a whole
idle period elapsed, stop the timer (resetting state), so that we can go
back at defer mode with the next enqueue from fair.