summaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2014-09-24 10:18:48 +0200
committerIngo Molnar <mingo@kernel.org>2014-10-28 10:55:23 +0100
commite22b886a8a43b147e1994a9f970f678fc0df2033 (patch)
tree72ec37c3bc73f1e2e50bd52d153a7a364d09c3b6 /kernel/exit.c
parent61ada528dea028331e99e8ceaed87c683ad25de2 (diff)
downloadlinux-e22b886a8a43b147e1994a9f970f678fc0df2033.tar.bz2
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 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions