Commit 050c6c9b authored by Ingo Molnar's avatar Ingo Molnar

sched: Remove debugging check

Linus reported that the new warning introduced by commit f26f9aff
"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: default avatarLinus Torvalds <>
Cc: Peter Zijlstra <>
Cc: Mike Galbraith <>
LKML-Reference: <>
Signed-off-by: default avatarIngo Molnar <>
parent 8e92c201
......@@ -4128,7 +4128,6 @@ need_resched_nonpreemptible:
rq->curr = next;
context_switch(rq, prev, next); /* unlocks the rq */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment