diff options
| author | Peter Zijlstra <[email protected]> | 2015-02-11 04:31:13 +0000 |
|---|---|---|
| committer | Rusty Russell <[email protected]> | 2015-02-11 04:32:04 +0000 |
| commit | 9cc019b8c94fa59e02fd82f15f7b7d689e35c190 (patch) | |
| tree | 0d6775b29012dd6a2df95cb16bd190faffd44780 /lib/bitmap.c | |
| parent | module: Annotate nested sleep in resolve_symbol() (diff) | |
| download | kernel-9cc019b8c94fa59e02fd82f15f7b7d689e35c190.tar.gz kernel-9cc019b8c94fa59e02fd82f15f7b7d689e35c190.zip | |
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) <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
