sched/fair: Move load idx selection in find_idlest_group
authorVincent Guittot <vincent.guittot@linaro.org>
Fri, 18 Oct 2013 11:52:21 +0000 (13:52 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 27 Nov 2013 12:50:54 +0000 (13:50 +0100)
commitc44f2a020072d75d6b0cbf9f139a09719cda9367
tree365080b93f4de0173edf06d921ef2031034dfc76
parent192301e70af3f6803c6354a464ebfa742da738ae
sched/fair: Move load idx selection in find_idlest_group

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.guittot@linaro.org>
Cc: len.brown@intel.com
Cc: amit.kucheria@linaro.org
Cc: pjt@google.com
Cc: l.majewski@samsung.com
Cc: Morten.Rasmussen@arm.com
Cc: cmetcalf@tilera.com
Cc: tony.luck@intel.com
Cc: alex.shi@intel.com
Cc: preeti@linux.vnet.ibm.com
Cc: linaro-kernel@lists.linaro.org
Cc: rjw@sisk.pl
Cc: paulmck@linux.vnet.ibm.com
Cc: corbet@lwn.net
Cc: arjan@linux.intel.com
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1382097147-30088-8-git-send-email-vincent.guittot@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c