sched/balancing: Prevent the reselection of a previous env.dst_cpu if some tasks...
authorVladimir Davydov <vdavydov@parallels.com>
Sun, 15 Sep 2013 17:30:13 +0000 (21:30 +0400)
committerIngo Molnar <mingo@kernel.org>
Fri, 20 Sep 2013 10:02:20 +0000 (12:02 +0200)
commit7aff2e3a56b724b79fa2d5abd10d8231ef8fb0c5
tree7b22b4080af51729d1cc3053ac117787111c3ba2
parent40a0c68ca9b49fb3e7292c1bae035ba5bcb27903
sched/balancing: Prevent the reselection of a previous env.dst_cpu if some tasks are pinned

Currently new_dst_cpu is prevented from being reselected actually, not
dst_cpu. This can result in attempting to pull tasks to this_cpu twice.

Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/281f59b6e596c718dd565ad267fc38f5b8e5c995.1379265590.git.vdavydov@parallels.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c