Re: [RFC][PATCH v5 08/14] sched: move load idx selection in find_idlest_group

2013-11-12 Thread Peter Zijlstra
On Fri, Oct 18, 2013 at 01:52:21PM +0200, Vincent Guittot wrote: > load_idx is used in find_idlest_group but initialized in select_task_rq_fair > even when not used. The load_idx initialisation is moved in find_idlest_group > and the sd_flag replaces it in the function's args. > > Signed-off-by:

Re: [RFC][PATCH v5 08/14] sched: move load idx selection in find_idlest_group

2013-11-12 Thread Peter Zijlstra
On Fri, Oct 18, 2013 at 01:52:21PM +0200, Vincent Guittot wrote: load_idx is used in find_idlest_group but initialized in select_task_rq_fair even when not used. The load_idx initialisation is moved in find_idlest_group and the sd_flag replaces it in the function's args. Signed-off-by:

[RFC][PATCH v5 08/14] sched: move load idx selection in find_idlest_group

2013-10-18 Thread Vincent Guittot
load_idx is used in find_idlest_group but initialized in select_task_rq_fair even when not used. The load_idx initialisation is moved in find_idlest_group and the sd_flag replaces it in the function's args. Signed-off-by: Vincent Guittot --- kernel/sched/fair.c | 12 ++-- 1 file

[RFC][PATCH v5 08/14] sched: move load idx selection in find_idlest_group

2013-10-18 Thread Vincent Guittot
load_idx is used in find_idlest_group but initialized in select_task_rq_fair even when not used. The load_idx initialisation is moved in find_idlest_group and the sd_flag replaces it in the function's args. Signed-off-by: Vincent Guittot vincent.guit...@linaro.org --- kernel/sched/fair.c | 12