Re: [linux-pm] [PATCH 0/8] Suspend block api (version 8)

Peter Zijlstra
2010-05-28T15:18:44Z

On Fri, 2010-05-28 at 10:35 -0400, Alan Stern wrote:
> The app is busy doing something else unimportant
> We do into power save
> Push a button, generate an IRQ
> Come out of power save
> No app to poke
> * System goes back to sleep and eventually wakes up again
> The app finishes what it was doing
> The app sees there is a keystroke and marks itself important
> ...
>
> The * step is where trouble can occur.

Only because you don't run runnable tasks. Please stop considering that
an option and these problems go away.