sched/fair: Delete resched_cpu() from idle_balance()
authorKirill Tkhai <ktkhai@parallels.com>
Tue, 30 Sep 2014 21:04:44 +0000 (01:04 +0400)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Oct 2014 03:46:56 +0000 (05:46 +0200)
commit10a12983b3d437a6998b3845870e52c1c752c101
tree28adcb483e4fd5f1001068f5038017b14c9dbc3f
parent347abad981c1ef815ea5ba861adba6a8c6aa1580
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>
kernel/sched/fair.c