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


Groups > linux.kernel > #1334439

Re: [PATCH] sched/deadline: Always calculate end of period on sched_yield()

From Daniel Bristot de Oliveira <bristot@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] sched/deadline: Always calculate end of period on sched_yield()
Date 2016-02-15 13:40 +0100
Message-ID <r2qBB-Um-39@gated-at.bofh.it> (permalink)
References <r1vai-5dV-11@gated-at.bofh.it> <r2oq6-7YN-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 02/15/2016 08:18 AM, Juri Lelli wrote:
> Do you think we could also skip some of the
> following updates/accounting in this case? Not sure we win anything by
> doing that, though.

I reviewed rostedt's patch and the following updates/accounting
operations. I agree with rostedt's patch, and also agree that
if (delta_exec == 0) it is a good idea to skip some += 0 and
function calls of the next updates/accounting operations,
before the if (dl_runtime_exeeded...).

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


Thread

[PATCH] sched/deadline: Always calculate end of period on  sched_yield() Steven Rostedt <rostedt@goodmis.org> - 2016-02-13 00:20 +0100
  Re: [PATCH] sched/deadline: Always calculate end of period on  sched_yield() Juri Lelli <juri.lelli@arm.com> - 2016-02-15 11:20 +0100
    Re: [PATCH] sched/deadline: Always calculate end of period on  sched_yield() Daniel Bristot de Oliveira <bristot@redhat.com> - 2016-02-15 13:40 +0100
    Re: [PATCH] sched/deadline: Always calculate end of period on  sched_yield() Steven Rostedt <rostedt@goodmis.org> - 2016-02-15 17:30 +0100

csiph-web