Messages in this thread | | | Subject | Re: [PATCH] sched/deadline: document behavior of sched_yield() | From | Daniel Bristot de Oliveira <> | Date | Fri, 9 Sep 2016 09:17:56 -0300 |
| |
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.
-- Daniel
| |