diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-09-24 12:18:48 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-10-28 12:55:23 +0300 |
commit | e22b886a8a43b147e1994a9f970f678fc0df2033 (patch) | |
tree | 72ec37c3bc73f1e2e50bd52d153a7a364d09c3b6 /include/linux/kernel.h | |
parent | 61ada528dea028331e99e8ceaed87c683ad25de2 (diff) | |
download | linux-e22b886a8a43b147e1994a9f970f678fc0df2033.tar.xz |
sched/wait: Add might_sleep() checks
Add more might_sleep() checks, suppose someone put a wait_event() like
thing in a wait loop..
Can't put might_sleep() in ___wait_event() because there's the locked
primitives which call ___wait_event() with locks held.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: tglx@linutronix.de
Cc: ilya.dryomov@inktank.com
Cc: umgwanakikbuti@gmail.com
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20140924082242.119255706@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions