diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2021-07-01 19:18:37 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-07-02 15:58:23 +0200 |
commit | ceb6ba45dc8074d2a1ec1117463dc94a20d4203d (patch) | |
tree | 5042f76a5b67c82c09ad295bf2b8da67535bf75a /net/can/j1939 | |
parent | a22a5cb81e20657194fde6c835e07d28c4dfddbe (diff) |
sched/fair: Sync load_sum with load_avg after dequeue
commit 9e077b52d86a ("sched/pelt: Check that *_avg are null when *_sum are")
reported some inconsitencies between *_avg and *_sum.
commit 1c35b07e6d39 ("sched/fair: Ensure _sum and _avg values stay consistent")
fixed some but one remains when dequeuing load.
sync the cfs's load_sum with its load_avg after dequeuing the load of a
sched_entity.
Fixes: 9e077b52d86a ("sched/pelt: Check that *_avg are null when *_sum are")
Reported-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
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>
Tested-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
Link: https://lore.kernel.org/r/20210701171837.32156-1-vincent.guittot@linaro.org
Diffstat (limited to 'net/can/j1939')
0 files changed, 0 insertions, 0 deletions