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:Runmin Wang <runminw@codeaurora.org>
Loading
Please register or sign in to comment