diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2021-05-27 15:29:15 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-05-31 11:14:48 +0300 |
commit | 7c7ad626d9a0ff0a36c1e2a3cfbbc6a13828d5eb (patch) | |
tree | f74118a3d213e6dbe4b53a790f80f681d72e8db5 /fs/io-wq.c | |
parent | 8124c8a6b35386f73523d27eacb71b5364a68c4c (diff) | |
download | linux-7c7ad626d9a0ff0a36c1e2a3cfbbc6a13828d5eb.tar.xz |
sched/fair: Keep load_avg and load_sum synced
when removing a cfs_rq from the list we only check _sum value so we must
ensure that _avg and _sum stay synced so load_sum can't be null whereas
load_avg is not after propagating load in the cgroup hierarchy.
Use load_avg to compute load_sum similarly to what is done for util_sum
and runnable_sum.
Fixes: 0e2d2aaaae52 ("sched/fair: Rewrite PELT migration propagation")
Reported-by: Odin Ugedal <odin@uged.al>
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Odin Ugedal <odin@uged.al>
Link: https://lkml.kernel.org/r/20210527122916.27683-2-vincent.guittot@linaro.org
Diffstat (limited to 'fs/io-wq.c')
0 files changed, 0 insertions, 0 deletions