diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-10-04 22:07:32 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-10-17 01:57:49 +0200 |
commit | dbeeec5fe868f2e2e92fe94daa2c5a047240fdc4 (patch) | |
tree | 165c04443d737c0e8524e9917a6e4a338c397391 /drivers/base | |
parent | PM: runtime: add missed pm_request_autosuspend (diff) | |
download | linux-dbeeec5fe868f2e2e92fe94daa2c5a047240fdc4.tar.xz linux-dbeeec5fe868f2e2e92fe94daa2c5a047240fdc4.zip |
PM: Allow wakeup events to abort freezing of tasks
If there is a wakeup event during the freezing of tasks, suspend or
hibernation will fail anyway. Since try_to_freeze_tasks() can take
up to 20 seconds to complete or fail, aborting it as soon as a wakeup
event is detected improves the worst case wakeup latency.
Based on a patch from Arve Hjønnevåg.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions