Re: [RFD] Automatic suspend

Oliver Neukum
2009-02-19T22:58:08Z

Am Donnerstag 19 Februar 2009 23:21:46 schrieb Rafael J. Wysocki:
> > That's the whole point behind userspace wakelocks!  They provide a
> > mechanism for userspace to tell the kernel when (as far as userspace
is
> > concerned) it is or is not okay to auto-sleep.
>
> Still, one can go further and observe that the user space can in fact start
> automatic suspend by itself whenever it knows it's appropriate ...

User space initiating this is a race condition.

Regards
Oliver