lkml.org 
[lkml]   [2024]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 13/15] sched/deadline: Make start_dl_timer callers more robust
From
On 3/13/24 02:24, Joel Fernandes (Google) wrote:
> For whatever reason, if start_dl_timer() returned 0 during replenish (it
> did not start a new timer), then do not marked dl_defer_armed, because
> we never really armed.
>
> Further, we need to cancel any old timers,
>
> This is similar to what dl_check_constrained_dl() does.
>
> Add some guardrails for such situations.
>
> Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>

Makes sense, added as part of the defer patch.

-- Daniel


\
 
 \ /
  Last update: 2024-05-27 16:26    [W:0.128 / U:1.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site