Re: [PATCH v1 01/10] sched/fair: Chance LOAD_AVG_MAX_N from 345 to 347

2016-08-29 Thread Yuyang Du
On Wed, Aug 24, 2016 at 06:01:32PM +0200, Vincent Guittot wrote: > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > > index 4088eed..997297b 100644 > > --- a/kernel/sched/fair.c > > +++ b/kernel/sched/fair.c > > @@ -666,7 +666,7 @@ static unsigned long task_h_load(struct task_struct *p);

Re: [PATCH v1 01/10] sched/fair: Chance LOAD_AVG_MAX_N from 345 to 347

2016-08-24 Thread Vincent Guittot
On 10 August 2016 at 02:14, Yuyang Du wrote: > In commit 5b51f2f80b3b906ce59bd4dce6eca3c7f34cb1b9 > Author: Paul Turner > Date: Thu Oct 4 13:18:32 2012 +0200 > > sched: Make __update_entity_runnable_avg() fast > > Paul has a program to compute LOAD_AVG_MAX_N, which basically means > how man

[PATCH v1 01/10] sched/fair: Chance LOAD_AVG_MAX_N from 345 to 347

2016-08-10 Thread Yuyang Du
In commit 5b51f2f80b3b906ce59bd4dce6eca3c7f34cb1b9 Author: Paul Turner Date: Thu Oct 4 13:18:32 2012 +0200 sched: Make __update_entity_runnable_avg() fast Paul has a program to compute LOAD_AVG_MAX_N, which basically means how many periods (at least) are needed for LOAD_AVG_MAX, and the re