Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc3420d8 authored by Joonwoo Park's avatar Joonwoo Park
Browse files

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: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 449182f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment