Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1479940

Re: [PATCH] sched/deadline: document behavior of sched_yield()

From luca abeni <luca.abeni@unitn.it>
Newsgroups linux.kernel
Subject Re: [PATCH] sched/deadline: document behavior of sched_yield()
Date 2016-09-09 14:30 +0200
Message-ID <sft6p-2Lq-3@gated-at.bofh.it> (permalink)
References <sfoJs-8tz-29@gated-at.bofh.it> <sfpFw-zV-23@gated-at.bofh.it> <sfpFw-zV-25@gated-at.bofh.it> <sfqUV-1ud-21@gated-at.bofh.it> <sfsWJ-2Il-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 9 Sep 2016 09:17:56 -0300
Daniel Bristot de Oliveira <bristot@redhat.com> 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?



			Thanks,
				Luca

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] sched/deadline: document behavior of sched_yield() Tommaso Cucinotta <tommaso.cucinotta@sssup.it> - 2016-09-08 22:20 +0200
  Re: [PATCH] sched/deadline: document behavior of sched_yield() Juri Lelli <juri.lelli@arm.com> - 2016-09-09 09:50 +0200
    [PATCH] sched/deadline: document behavior of sched_yield() Tommaso Cucinotta <tommaso.cucinotta@sssup.it> - 2016-09-09 10:50 +0200
      Re: [PATCH] sched/deadline: document behavior of sched_yield() luca abeni <luca.abeni@unitn.it> - 2016-09-09 12:10 +0200
        Re: [PATCH] sched/deadline: document behavior of sched_yield() Daniel Bristot de Oliveira <bristot@redhat.com> - 2016-09-09 14:20 +0200
          Re: [PATCH] sched/deadline: document behavior of sched_yield() luca abeni <luca.abeni@unitn.it> - 2016-09-09 14:30 +0200
            Re: [PATCH] sched/deadline: document behavior of sched_yield() luca abeni <luca.abeni@unitn.it> - 2016-09-09 14:40 +0200
              Re: [PATCH] sched/deadline: document behavior of sched_yield() Daniel Bristot de Oliveira <bristot@redhat.com> - 2016-09-09 15:20 +0200
            Re: [PATCH] sched/deadline: document behavior of sched_yield() Daniel Bristot de Oliveira <bristot@redhat.com> - 2016-09-09 14:40 +0200
    [PATCH] sched/deadline: document behavior of sched_yield() Tommaso Cucinotta <tommaso.cucinotta@sssup.it> - 2016-09-09 10:50 +0200
    [PATCH] sched/deadline: document behavior of sched_yield() Tommaso Cucinotta <tommaso.cucinotta@sssup.it> - 2016-09-09 19:50 +0200
      [PATCH] sched/deadline: document behavior of sched_yield() Tommaso Cucinotta <tommaso.cucinotta@sssup.it> - 2016-09-09 19:50 +0200
        [tip:sched/core] sched/deadline: Document behavior of sched_yield() tip-bot for Tommaso Cucinotta <tipbot@zytor.com> - 2016-09-10 15:00 +0200

csiph-web