ANDROID: sched/fair: Avoid unnecessary balancing of asymmetric capacity groups
authorMorten Rasmussen <morten.rasmussen@arm.com>
Tue, 7 Mar 2017 16:41:26 +0000 (16:41 +0000)
committerChris Redpath <chris.redpath@arm.com>
Thu, 14 Dec 2017 21:41:06 +0000 (21:41 +0000)
commitc42f9795e6a0c0e9d3cc6e1fe02fa60829ceb23a
treef461cf2237e3a6ade0a10a8093906a4580147e24
parent5494e2edf59c2ff74742c224eb05c5df0b3d1fe6
ANDROID: sched/fair: Avoid unnecessary balancing of asymmetric capacity groups

On systems with asymmetric cpu capacities, a skewed load distribution
might yield better throughput than balancing load per group capacity.
For example, running compute intensive tasks on high capacity cpus while
leaving low capacity cpus idle. So we let load-balance back off if the
busiest group isn't really overloaded.

cc: Ingo Molnar <mingo@redhat.com>
cc: Peter Zijlstra <peterz@infradead.org>

Signed-off-by: Morten Rasmussen <morten.rasmussen@arm.com>
Change-Id: I8b08a0fa73f357a9972324bc76cec3912fe293cf
Signed-off-by: Chris Redpath <chris.redpath@arm.com>
kernel/sched/fair.c