From: Steven Rostedt <rostedt@goodmis.org>
To: Peter Zijlstra <peterz@infradead.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Juri Lelli <juri.lelli@gmail.com>, Ingo Molnar <mingo@kernel.org>,
Clark Williams <williams@redhat.com>,
Daniel Bristot de Oliveira <bristot@redhat.com>,
John Kacur <jkacur@redhat.com>
Subject: Re: [PATCH] sched/deadline: Always calculate end of period on sched_yield()
Date: Tue, 23 Feb 2016 10:04:24 -0500 [thread overview]
Message-ID: <20160223100424.4ebfea45@gandalf.local.home> (raw)
In-Reply-To: <20160223122822.GP6357@twins.programming.kicks-ass.net>
On Tue, 23 Feb 2016 13:28:22 +0100
Peter Zijlstra <peterz@infradead.org> wrote:
> Would something like this make sense instead?
It works perfectly.
Reported-by: Steven Rostedt <rostedt@goodmis.org>
Tested-by: Steven Rostedt <rostedt@goodmis.org>
Thanks!
-- Steve
>
> It also retains the ->runtime while yielded, and would actually 'fix' a
> case where, when we call yield, we would have had a negative runtime
> after update_curr_dl().
>
> The current code will 'gift' us extra runtime in that case.
>
> ---
next prev parent reply other threads:[~2016-02-23 15:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-12 23:10 Steven Rostedt
2016-02-15 10:18 ` Juri Lelli
2016-02-15 12:37 ` Daniel Bristot de Oliveira
2016-02-15 16:22 ` Steven Rostedt
2016-02-23 12:28 ` Peter Zijlstra
2016-02-23 13:12 ` Steven Rostedt
2016-02-23 15:04 ` Steven Rostedt [this message]
2016-02-29 11:14 ` [tip:sched/core] " tip-bot for Peter Zijlstra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160223100424.4ebfea45@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=bristot@redhat.com \
--cc=jkacur@redhat.com \
--cc=juri.lelli@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=williams@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®