Re: Attempted summary of suspend-blockers LKML thread

Matthew Garrett
2010-08-05T14:33:02Z

On Thu, Aug 05, 2010 at 07:22:53AM -0700, david@lang.hm wrote:

> I'm not sure it's possible to completely eliminate the race, even with
> wakelocks there is some time between the time you last check if the
> wakelock is set and when the hardware finishes responding to your
> commands to go to sleep (Unless you can set a level-based interrupt that
> will wake you up as soon as you finish going to sleep)

It's typically the case that you can - we've even seen that on x86 with
ACPI GPEs.

--
Matthew Garrett | mjg59@srcf.ucam.org