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


Groups > linux.kernel > #1179142

Re: [PATCH] sched: make decaying sched_avg's variables happen on period boundary

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH] sched: make decaying sched_avg's variables happen on period boundary
Date 2015-07-08 01:00 +0200
Message-ID <pJK0i-39I-11@gated-at.bofh.it> (permalink)
References <pJtVw-1zt-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

Re: [PATCH] sched: make decaying sched_avg's variables happen on  period boundary Peter Zijlstra <peterz@infradead.org> - 2015-07-08 01:00 +0200

csiph-web