diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2012-10-12 20:52:06 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2012-10-12 20:52:06 +0530 |
commit | 8ebbceb071c40f0ea667878a96779deb1f36c746 (patch) | |
tree | 40ca9cd2f9733036e0113824e1927e8e24a32acd /kernel/sched/fair.c | |
parent | 2027d925f44d49835beff1b4917d8fd91f8805d7 (diff) | |
parent | e2d8c1f52f5e3174c7c05332901e6f524c79ac1e (diff) |
Merge branch 'task-placement-v2' into big-LITTLE-MP-v10big-LITTLE-MP-v10
This merge adds two fixup patches from tixy & morten on task-placement-v2
branch.
Diffstat (limited to 'kernel/sched/fair.c')
-rw-r--r-- | kernel/sched/fair.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index e9dd53cedc7..970026bda81 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -5587,8 +5587,11 @@ static unsigned int hmp_down_migration(int cpu, struct sched_entity *se) #ifdef CONFIG_SCHED_HMP_PRIO_FILTER /* Filter by task priority */ - if (p->prio >= hmp_up_prio) + if ((p->prio >= hmp_up_prio) && + cpumask_intersects(&hmp_slower_domain(cpu)->cpus, + tsk_cpus_allowed(p))) { return 1; + } #endif /* Let the task load settle before doing another down migration */ |