]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
sched: Remove debugging check
authorIngo Molnar <mingo@elte.hu>
Sun, 19 Dec 2010 22:24:27 +0000 (23:24 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 19 Dec 2010 22:24:27 +0000 (23:24 +0100)
commit050c6c9b896625d9fa498265be17b82c5fc65257
tree998a73afe0c3eddd35754cd4de54a65fc4313cec
parent8e92c20183ed0579d94501311b81c42b65cb2129
sched: Remove debugging check

Linus reported that the new warning introduced by commit f26f9aff6aaf
"Sched: fix skip_clock_update optimization" triggers. The need_resched
flag can be set by other CPUs asynchronously so this debug check is
bogus - remove it.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <AANLkTinJ8hAG1TpyC+CSYPR47p48+1=E7fiC45hMXT_1@mail.gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c