aboutsummaryrefslogtreecommitdiff
path: root/net/sched
diff options
context:
space:
mode:
authorPeter Zijlstra2014-10-08 18:51:10 +0200
committerSteven Rostedt2014-10-08 19:51:01 -0400
commitfe0e01c77dd9f7a60916aec2149d8a1182baf63c (patch)
tree471eff9f1eefdacc887936f196c7be2e3f7af40d /net/sched
parentbfe01a5ba2490f299e1d2d5508cbbbadd897bbe9 (diff)
tracing: Robustify wait loop
The pending nested sleep debugging triggered on the potential stale TASK_INTERRUPTIBLE in this code. While there, fix the loop such that we won't revert to a while(1) yield() 'spin' loop if we ever get a spurious wakeup. And fix the actual issue by properly terminating the 'wait' loop by setting TASK_RUNNING. Link: http://lkml.kernel.org/p/20141008165110.GA14547@worktop.programming.kicks-ass.net Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions