sched: EAS: check if CPU is overutilized correctly
rd->overutilized can be set when any CPU within the same sched domain
is overutlized. But that doesn't necessarily mean 'cpu' is
overutilized and don't have spare capacity to take new task.
Use cpu_overutilized() instead of cpu_rq(cpu)->rd->overutilized.
Change-Id: I370902b52da9731630e1d59e97b03b0458cd5c49
Signed-off-by:
Joonwoo Park <joonwoop@codeaurora.org>
Loading
Please register or sign in to comment