sched: SCHED_HMP multi-domain task migration control
authorMorten Rasmussen <Morten.Rasmussen@arm.com>
Fri, 14 Sep 2012 13:38:17 +0000 (14:38 +0100)
committerJon Medhurst <tixy@linaro.org>
Wed, 17 Jul 2013 10:12:25 +0000 (11:12 +0100)
commit76525733b4f4e0fdcc188dfe23941024ae626979
tree3a164ba67a66dad63f8dd967dfa691cb571059e4
parent0d811e649ad31994e8f06b6b18101f249b34e912
sched: SCHED_HMP multi-domain task migration control

We need a way to prevent tasks that are migrating up and down the
hmp_domains from migrating straight on through before the load has
adapted to the new compute capacity of the CPU on the new hmp_domain.
This patch adds a next up/down migration delay that prevents the task
from doing another migration in the same direction until the delay
has expired.

Signed-off-by: Morten Rasmussen <Morten.Rasmussen@arm.com>
include/linux/sched.h
kernel/sched/core.c
kernel/sched/fair.c