diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-10-29 14:21:57 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-11-04 09:17:45 +0300 |
commit | 36df04bc5273a046f53b5e359febc1225f85aa7b (patch) | |
tree | dac2719884ca16c1c11b003be614ad0a1bb1fee0 /kernel/locking/mcs_spinlock.h | |
parent | cb6538e740d7543cd989128625cf8cac4b471e0a (diff) | |
download | linux-36df04bc5273a046f53b5e359febc1225f85aa7b.tar.xz |
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: oleg@redhat.com
Cc: Rafael Wysocki <rjw@rjwysocki.net>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Len Brown <len.brown@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
Cc: linux-pm@vger.kernel.org
Link: http://lkml.kernel.org/n/tip-d86fz1jmso9wjxa8jfpinp8o@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/locking/mcs_spinlock.h')
0 files changed, 0 insertions, 0 deletions