Re: Attempted summary of suspend-blockers LKML thread

From: Matthew Garrett
Date: Thu Aug 05 2010 - 10:33:32 EST


On Thu, Aug 05, 2010 at 07:22:53AM -0700, david@xxxxxxx 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@xxxxxxxxxxxxx
--
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/