aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@parallels.com>2014-09-30 17:04:44 -0400
committerIngo Molnar <mingo@kernel.org>2014-10-02 23:46:56 -0400
commit10a12983b3d437a6998b3845870e52c1c752c101 (patch)
tree28adcb483e4fd5f1001068f5038017b14c9dbc3f /kernel
parent347abad981c1ef815ea5ba861adba6a8c6aa1580 (diff)
sched/fair: Delete resched_cpu() from idle_balance()
We already reschedule env.dst_cpu in attach_tasks()->check_preempt_curr() if this is necessary. Furthermore, a higher priority class task may be current on dest rq, we shouldn't disturb it. Signed-off-by: Kirill Tkhai <ktkhai@parallels.com> Cc: Juri Lelli <juri.lelli@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: http://lkml.kernel.org/r/20140930210441.5258.55054.stgit@localhost Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched/fair.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index dfdcbfde2c5b..bd61cff8ee4f 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -6701,12 +6701,6 @@ more_balance:
6701 6701
6702 local_irq_restore(flags); 6702 local_irq_restore(flags);
6703 6703
6704 /*
6705 * some other cpu did the load balance for us.
6706 */
6707 if (cur_ld_moved && env.dst_cpu != smp_processor_id())
6708 resched_cpu(env.dst_cpu);
6709
6710 if (env.flags & LBF_NEED_BREAK) { 6704 if (env.flags & LBF_NEED_BREAK) {
6711 env.flags &= ~LBF_NEED_BREAK; 6705 env.flags &= ~LBF_NEED_BREAK;
6712 goto more_balance; 6706 goto more_balance;