Skip to content
Commit fe71bbb2 authored by Peng Wang's avatar Peng Wang Committed by Peter Zijlstra
Browse files

sched/fair: calculate delta runnable load only when it's needed



Move the code of calculation for delta_sum/delta_avg to where
it is really needed to be done.

Signed-off-by: default avatarPeng Wang <rocking@linux.alibaba.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: default avatarVincent Guittot <vincent.guittot@linaro.org>
Link: https://lkml.kernel.org/r/20200103114400.17668-1-rocking@linux.alibaba.com
parent 9dec1b69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment