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

Skip to content
Commit 0839cb4f authored by Runmin Wang's avatar Runmin Wang
Browse files

sched/fair: Make sd_overutilized if cpu is overutilized



update_overutilized_status() is used to set the overutilized flag when a
task gets queued up on a cpu or during the tick. The primary purpose is
to check if cpu is running close to its capacity and set the
overutilized flag to allow load balancing on that domain.

However, change f5438882 ("sched: fair:
mark parent domain overutilized if !SD_LOAD_BALANCE"), accidentally
removed the check to see if the cpu is overutilized or not.
This leads to setting the overutilized flag in the sd domain when it
might not necessarily be overutilized, causing load balancer to
unnecesarily run on that sd domain.

Change-Id: Iaef3a660b7af6a073158dfd530973b974b28822d
Signed-off-by: default avatarRunmin Wang <runminw@codeaurora.org>
parent b79ef96c
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