aboutsummaryrefslogtreecommitdiff
path: root/kernel/stop_machine.c
diff options
context:
space:
mode:
authorMorten Rasmussen <Morten.Rasmussen@arm.com>2012-09-14 14:38:10 +0100
committerViresh Kumar <viresh.kumar@linaro.org>2012-10-08 08:56:52 +0530
commit99232a0b5cbec2a874d4ff732f66586322eca8e6 (patch)
treefb7bf423bb1583b7acaa1487267cb259494dee93 /kernel/stop_machine.c
parentd45b49ce55b334324988fb5e9a32bc464cbd3c94 (diff)
sched: Forced task migration on heterogeneous systems
This patch introduces forced task migration for moving suitable currently running tasks between hmp_domains. Task behaviour is likely to change over time. Tasks running in a less capable hmp_domain may change to become more demanding and should therefore be migrated up. They are unlikely go through the select_task_rq_fair() path anytime soon and therefore need special attention. This patch introduces a period check (SCHED_TICK) of the currently running task on all runqueues and sets up a forced migration using stop_machine_no_wait() if the task needs to be migrated. Ideally, this should not be implemented by polling all runqueues. Signed-off-by: Morten Rasmussen <Morten.Rasmussen@arm.com>
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions