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

Skip to content
Commit 0d138f0f authored by Chris Redpath's avatar Chris Redpath Committed by Runmin Wang
Browse files

ANDROID: sched/fair: Attempt to improve throughput for asym cap systems



In some systems the capacity and group weights line up to defeat all the
small imbalance correction conditions in fix_small_imbalance, which can
cause bad task placement. Add a new condition if the existing code can't
see anything to fix:

If we have asymmetric capacity, and there are more tasks than CPUs in
the busiest group *and* there are less tasks than CPUs in the local group
then we try to pull something. There could be transient small tasks which
prevent this from working, but on the whole it is beneficial for those
systems with inconvenient capacity/cluster size relationships.

Change-Id: Icf81cde215c082a61f816534b7990ccb70aee409
Signed-off-by: default avatarChris Redpath <chris.redpath@arm.com>
Git-commit: 92f1c4fa958a0f01dd35408c08b489f046e8b68c
Git-repo: https://android.googlesource.com/kernel/common/


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