Re: [linux-pm] [RFC][PATCH] PM: Allow wakeup events to abortfreezing of tasks

From: Pavel Machek
Date: Fri Oct 01 2010 - 10:00:56 EST


On Thu 2010-09-30 00:16:50, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rjw@xxxxxxx>
> Subject: 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@xxxxxxx>

Ack.

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/