Skip to content
Commit 1861c550 authored by Vincent Guittot's avatar Vincent Guittot Committed by Valentin Schneider
Browse files

sched/fair: optimize find_idlest_group



find_idlest_group() now loads 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's avatarVincent Guittot <vincent.guittot@linaro.org>
parent 8a59dbfa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment