]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sched: Fix incorrect sanity check
authorPeter Zijlstra <peterz@infradead.org>
Thu, 21 Jan 2010 15:34:27 +0000 (16:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:18:03 +0000 (13:18 -0700)
commitc8035d9f08c1c8bbfe04576dbebe5c6da5621dae
tree5718f2118b41e58e5f08aa68f4f93d3fd0d9b11b
parent20f95b412b7fa9ecd93bda4d34a88bd159ffca8f
sched: Fix incorrect sanity check

commit 11854247e2c851e7ff9ce138e501c6cffc5a4217 upstream

We moved to migrate on wakeup, which means that sleeping tasks could
still be present on offline cpus. Amend the check to only test running
tasks.

Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/cpu.c