Messages in this thread | | | Date | Wed, 8 Jul 2015 00:54:30 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH] sched: make decaying sched_avg's variables happen on period boundary |
| |
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.
| |