]> Git Repo - linux.git/commit - include/linux/wait.h
sched/wait: Reimplement wait_event_freezable()
authorPeter Zijlstra <[email protected]>
Wed, 29 Oct 2014 11:21:57 +0000 (12:21 +0100)
committerIngo Molnar <[email protected]>
Tue, 4 Nov 2014 06:17:45 +0000 (07:17 +0100)
commit36df04bc5273a046f53b5e359febc1225f85aa7b
treedac2719884ca16c1c11b003be614ad0a1bb1fee0
parentcb6538e740d7543cd989128625cf8cac4b471e0a
sched/wait: Reimplement wait_event_freezable()

Provide better implementations of wait_event_freezable() APIs.

The problem is with freezer_do_not_count(), it hides the thread from
the freezer, even though this thread might not actually freeze/sleep
at all.

Cc: [email protected]
Cc: Rafael Wysocki <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Len Brown <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
include/linux/freezer.h
include/linux/wait.h
This page took 0.043571 seconds and 4 git commands to generate.