aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorzgpeng <[email protected]>2022-04-06 17:57:05 +0800
committerPeter Zijlstra <[email protected]>2022-04-22 12:14:07 +0200
commit06354900787f25bf5be3c07a68e3cdbc5bf0fa69 (patch)
tree9a0d6e3aac5b13a8c135ff2ee87baf6f2d1d0ebe /lib/memory-notifier-error-inject.c
parente3f73ece75a88b79d14a811cec38a350a694c69d (diff)
sched/fair: Move calculate of avg_load to a better location
In calculate_imbalance function, when the value of local->avg_load is greater than or equal to busiest->avg_load, the calculated sds->avg_load is not used. So this calculation can be placed in a more appropriate position. Signed-off-by: zgpeng <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Samuel Liao <[email protected]> Reviewed-by: Vincent Guittot <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions