]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Fix incorrect sanity check
authorPeter Zijlstra <peterz@infradead.org>
Thu, 21 Jan 2010 15:34:27 +0000 (16:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 28 Jan 2010 05:59:51 +0000 (06:59 +0100)
commit6c5b6a2306785d03c4fb2267b86c375218d62623
tree281c12176055279558b31b4b059e32e59229f486
parent8cabfe9081a3a1aa5d45a3627de28b8581aa9d4b
sched: Fix incorrect sanity check

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>
kernel/cpu.c