Re: [PATCH] sched/deadline: Fix stale throttling on de-/boosted tasks

2020-09-16 Thread Daniel Bristot de Oliveira
On 9/2/20 11:43 AM, pet...@infradead.org wrote: > On Wed, Sep 02, 2020 at 08:00:24AM +0200, Juri Lelli wrote: >> On 31/08/20 13:07, Lucas Stach wrote: >>> When a boosted task gets throttled, what normally happens is that it's >>> immediately enqueued again with ENQUEUE_REPLENISH, which replenishes

Re: [PATCH] sched/deadline: Fix stale throttling on de-/boosted tasks

2020-09-09 Thread Lucas Stach
On Mi, 2020-09-02 at 11:43 +0200, pet...@infradead.org wrote: > On Wed, Sep 02, 2020 at 08:00:24AM +0200, Juri Lelli wrote: > > On 31/08/20 13:07, Lucas Stach wrote: > > > When a boosted task gets throttled, what normally happens is that it's > > > immediately enqueued again with

Re: [PATCH] sched/deadline: Fix stale throttling on de-/boosted tasks

2020-09-02 Thread peterz
On Wed, Sep 02, 2020 at 08:00:24AM +0200, Juri Lelli wrote: > On 31/08/20 13:07, Lucas Stach wrote: > > When a boosted task gets throttled, what normally happens is that it's > > immediately enqueued again with ENQUEUE_REPLENISH, which replenishes the > > runtime and clears the dl_throttled flag.

Re: [PATCH] sched/deadline: Fix stale throttling on de-/boosted tasks

2020-09-02 Thread Juri Lelli
Hi, On 31/08/20 13:07, Lucas Stach wrote: > When a boosted task gets throttled, what normally happens is that it's > immediately enqueued again with ENQUEUE_REPLENISH, which replenishes the > runtime and clears the dl_throttled flag. There is a special case however: > if the throttling happened

[PATCH] sched/deadline: Fix stale throttling on de-/boosted tasks

2020-08-31 Thread Lucas Stach
When a boosted task gets throttled, what normally happens is that it's immediately enqueued again with ENQUEUE_REPLENISH, which replenishes the runtime and clears the dl_throttled flag. There is a special case however: if the throttling happened on sched-out and the task has been deboosted in the