From: Rafael J. Wysocki Date: Mon, 4 Oct 2010 20:07:32 +0000 (+0200) Subject: PM: Allow wakeup events to abort freezing of tasks X-Git-Tag: v2.6.37-rc1~185^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbeeec5fe868f2e2e92fe94daa2c5a047240fdc4;p=pandora-kernel.git 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 Acked-by: Pavel Machek --- Reading git-diff-tree failed