[linux-pm] [PATCH 09/13] PM: wakelock: Abort task freezing if a wake lock is held.

Arve Hjønnevåg arve at android.com
Thu Feb 5 02:08:39 PST 2009


On Thu, Feb 5, 2009 at 2:02 AM, Pavel Machek <pavel at ucw.cz> wrote:
>> We should also check if we should abort after suspending any driver.
>> This was just the only place where the delay was noticeable since it
>> tries for 20 seconds.
>
> I still don't get it. Refrigerator freezes userspace processes, not
> devices.

Individual devices could also be slow to suspend, so aborting as soon
as you know that suspend will fail would be better. Right now I only
have two abort points, during freeze and a single late suspend
handler.

> Are you trying to improve hadling of suspend abort during freeze?

Yes.

-- 
Arve Hjønnevåg


More information about the linux-pm mailing list