summaryrefslogtreecommitdiff
path: root/kernel/sched
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2015-02-11 15:01:13 +1030
committerRusty Russell <rusty@rustcorp.com.au>2015-02-11 15:02:04 +1030
commit9cc019b8c94fa59e02fd82f15f7b7d689e35c190 (patch)
tree0d6775b29012dd6a2df95cb16bd190faffd44780 /kernel/sched
parentd64810f56147b53e92228c31442e925576314aa2 (diff)
module: Replace over-engineered nested sleep
Since the introduction of the nested sleep warning; we've established that the occasional sleep inside a wait_event() is fine. wait_event() loops are invariant wrt. spurious wakeups, and the occasional sleep has a similar effect on them. As long as its occasional its harmless. Therefore replace the 'correct' but verbose wait_woken() thing with a simple annotation to shut up the warning. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/sched')
0 files changed, 0 insertions, 0 deletions