Re: [PATCH v8 1/4] sched: Remove rq's runnable avg

2015-06-22 Thread Dietmar Eggemann
On 21/06/15 23:26, Yuyang Du wrote: > Hi Dietmar, > > On Fri, Jun 19, 2015 at 07:27:24PM +0100, Dietmar Eggemann wrote: >> Hi Yuyang, >> >> On 15/06/15 20:26, Yuyang Du wrote: >>> The current rq->avg is not used at all since its merge into kernel, >>> and the code is in the scheduler's hot path, s

Re: [PATCH v8 1/4] sched: Remove rq's runnable avg

2015-06-21 Thread Yuyang Du
Hi Dietmar, On Fri, Jun 19, 2015 at 07:27:24PM +0100, Dietmar Eggemann wrote: > Hi Yuyang, > > On 15/06/15 20:26, Yuyang Du wrote: > > The current rq->avg is not used at all since its merge into kernel, > > and the code is in the scheduler's hot path, so remove it. > > are you sure that this is

Re: [PATCH v8 1/4] sched: Remove rq's runnable avg

2015-06-19 Thread Dietmar Eggemann
Hi Yuyang, On 15/06/15 20:26, Yuyang Du wrote: > The current rq->avg is not used at all since its merge into kernel, > and the code is in the scheduler's hot path, so remove it. are you sure that this is the case? I was always under the impression that w/ CONFIG_FAIR_GROUP_SCHED=y rq->avg (runnab

[PATCH v8 1/4] sched: Remove rq's runnable avg

2015-06-15 Thread Yuyang Du
The current rq->avg is not used at all since its merge into kernel, and the code is in the scheduler's hot path, so remove it. Signed-off-by: Yuyang Du --- kernel/sched/debug.c |7 +-- kernel/sched/fair.c | 25 - kernel/sched/sched.h |2 -- 3 files changed,