Messages in this thread | | | Subject | Re: [PATCH 14/16] sched: make __update_entity_runnable_avg() fast | From | Peter Zijlstra <> | Date | Wed, 04 Jul 2012 19:20:08 +0200 |
| |
On Wed, 2012-07-04 at 17:41 +0200, Peter Zijlstra wrote: > On Wed, 2012-06-27 at 19:24 -0700, Paul Turner wrote: > > +#define LOAD_AVG_MAX 46742 /* maximum possible load avg */ > > With 1024 * 1/(1-y), with y^32 = 0.5 I get 47788.. sup?
Ah, if we do the series starting at 1 we get: 1024*y/(1-y) which yields: 46764. So you're not adding the first term u_0?
| |