diff options
| author | Srivatsa Vaddagiri <vatsa@codeaurora.org> | 2014-03-31 10:34:41 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 19:59:05 -0700 |
| commit | 45acc2457b618c0ab056f708fb8ee030e44015dc (patch) | |
| tree | 5748cd349d831ae24a29083c2685c0f5a2f7451e /kernel/sched/sched.h | |
| parent | 2a17b805457510ac4c70d34f65816300633602f3 (diff) | |
sched: Extend active balance to accept 'push_task' argument
Active balance currently picks one task to migrate from busy cpu to
a chosen cpu (push_cpu). This patch extends active load balance to
recognize a particular task ('push_task') that needs to be migrated to
'push_cpu'. This capability will be leveraged by HMP-aware task
placement in a subsequent patch.
Change-Id: If31320111e6cc7044e617b5c3fd6d8e0c0e16952
Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
[rameezmustafa@codeaurora.org]: Port to msm-3.18]
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
Diffstat (limited to 'kernel/sched/sched.h')
| -rw-r--r-- | kernel/sched/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 5c27891ebd9a..00d7f187a88c 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -626,6 +626,7 @@ struct rq { /* For active balancing */ int active_balance; int push_cpu; + struct task_struct *push_task; struct cpu_stop_work active_balance_work; /* cpu of this runqueue: */ int cpu; |
