Re: [PATCH] sched/deadline: document behavior of sched_yield()
From: luca abeni
Date: Fri Sep 09 2016 - 08:24:24 EST
On Fri, 9 Sep 2016 09:17:56 -0300
Daniel Bristot de Oliveira <bristot@xxxxxxxxxx> wrote:
> On 09/09/2016 07:00 AM, luca abeni wrote:
> > Maybe instead of saying that the task is suspended you can say that
> > since the remaining runtime goes to 0 the task is immediately throttled,
> > and will be able to execute again only after the time is equal to the
> > scheduling deadline (as explained in "2. Scheduling algorithm").
> well, that is not true anymore. Since:
> 48be3a6 sched/deadline: Always calculate end of period on sched_yield()
> the runtime is zeroed at the replenishment, if dl_se->dl_yielded is set
> and runtime > 0.
Ok, but the task is still throttled, right?