sched: Basic global balancing support for HMP
authorMorten Rasmussen <morten.rasmussen@arm.com>
Thu, 29 Nov 2012 15:41:50 +0000 (15:41 +0000)
committerJon Medhurst <tixy@linaro.org>
Wed, 17 Jul 2013 10:12:27 +0000 (11:12 +0100)
commitcf71912f481c7b6fc39e9b2021e8f9c058116c26
treee8a838e8631f013e464c8704de81fdac5aedd1ef
parentae570aeb1d40d531a498e53e2a815a52996f0749
sched: Basic global balancing support for HMP

This patch introduces an extra-check at task up-migration to
prevent overloading the cpus in the faster hmp_domain while the
slower hmp_domain is not fully utilized. The patch also introduces
a periodic balance check that can down-migrate tasks if the faster
domain is oversubscribed and the slower is under-utilized.

Signed-off-by: Morten Rasmussen <morten.rasmussen@arm.com>
kernel/sched/fair.c