projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e92c20
)
sched: Remove debugging check
author
Ingo Molnar
<
[email protected]
>
Sun, 19 Dec 2010 22:24:27 +0000
(23:24 +0100)
committer
Ingo Molnar
<
[email protected]
>
Sun, 19 Dec 2010 22:24:27 +0000
(23:24 +0100)
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 <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Mike Galbraith <
[email protected]
>
LKML-Reference: <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
kernel/sched.c
patch
|
blob
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 456c99054160a773fa6736005397a3bc138f6902..297d1a0eedb0e68d8b9327f530ba477c93b1222e 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-4128,7
+4128,6
@@
need_resched_nonpreemptible:
rq->nr_switches++;
rq->curr = next;
++*switch_count;
- WARN_ON_ONCE(test_tsk_need_resched(next));
context_switch(rq, prev, next); /* unlocks the rq */
/*