]> Git Repo - linux.git/commit
sched/wait: Add might_sleep() checks
authorPeter Zijlstra <[email protected]>
Wed, 24 Sep 2014 08:18:48 +0000 (10:18 +0200)
committerIngo Molnar <[email protected]>
Tue, 28 Oct 2014 09:55:23 +0000 (10:55 +0100)
commite22b886a8a43b147e1994a9f970f678fc0df2033
tree72ec37c3bc73f1e2e50bd52d153a7a364d09c3b6
parent61ada528dea028331e99e8ceaed87c683ad25de2
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) <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Oleg Nesterov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
include/linux/wait.h
This page took 0.061225 seconds and 4 git commands to generate.