diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2021-10-19 14:35:33 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-10-31 11:11:37 +0100 |
commit | 9e9af819db5dbe4bf99101628955a26e2a41a1a5 (patch) | |
tree | 786d2e4331d274b2f11d45c6d2fc7e238f7aa3b7 /include/linux/sched | |
parent | 5d1ceb3969b6b2e47e2df6d17790a7c5a20fcbb4 (diff) |
sched/fair: Account update_blocked_averages in newidle_balance cost
The time spent to update the blocked load can be significant depending of
the complexity fo the cgroup hierarchy. Take this time into account in
the cost of the 1st load balance of a newly idle cpu.
Also reduce the number of call to sched_clock_cpu() and track more actual
work.
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Link: https://lore.kernel.org/r/20211019123537.17146-2-vincent.guittot@linaro.org
Diffstat (limited to 'include/linux/sched')
0 files changed, 0 insertions, 0 deletions