sched/fair: optimize find_idlest_group
find_idlest_group() now reads CPU's load_avg in 2 different ways.
Consolidate the function to read and use load_avg only once and simplify
the algorithm to only look for the group with lowest load_avg.
Signed-off-by:
Vincent Guittot <vincent.guittot@linaro.org>
Loading
Please register or sign in to comment