From: Peter Zijlstra <peterz@infradead.org>
To: byungchul.park@lge.com
Cc: mingo@kernel.org, linux-kernel@vger.kernel.org, pjt@google.com
Subject: Re: [PATCH] sched: make decaying sched_avg's variables happen on period boundary
Date: Wed, 8 Jul 2015 00:54:30 +0200 [thread overview]
Message-ID: <20150707225430.GX3644@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <1436247776-30946-1-git-send-email-byungchul.park@lge.com>
On Tue, Jul 07, 2015 at 02:42:56PM +0900, byungchul.park@lge.com wrote:
> From: Byungchul Park <byungchul.park@lge.com>
>
> decaying time happens on every period boundary. if it does not reach
> the period boundary yet, the partial time needs to be kept so that
> the time can be decayed on exactly period boundary at next update.
>
> sa->avg_period is not appropriate for getting partial delta_w because
> the value is a decayed average value, with which we cannnot get partial
> delta at all which does not reach the period boundary yet.
lkml.kernel.org/r/1435018085-7004-1-git-send-email-yuyang.du@intel.com
There is a comprehensive rewrite of all this under consideration.
next prev parent reply other threads:[~2015-07-07 22:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-07 5:42 [PATCH] sched: make decaying sched_avg's variables happen on period boundary byungchul.park
2015-07-07 22:54 ` Peter Zijlstra [this message]
2015-07-08 0:22 ` Byungchul Park
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=20150707225430.GX3644@twins.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=byungchul.park@lge.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=pjt@google.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