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

Commit 388e756e authored by Lingutla Chandrasekhar's avatar Lingutla Chandrasekhar
Browse files

sched: fair: consider all running tasks in cpu for load balance



Load_balancer considers only cfs running tasks for finding busiest cpu
to do load balancing. But cpu may be busy with other type tasks (ex: RT),
then that cpu might not selected as busy cpu due to weight vs nr_run
checks fails). And possibley cfs tasks running on that cpu would suffer
till other type tasks finishes or weight checks passes, while other cpus
sitting idle and not able to do load balance.

So, consider all running tasks to check cpu busieness.

Change-Id: Iddf3f668507e20359f6388fc30ff5897d234c902
Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent d6a42214
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