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

From: Peter Zijlstra
Date: Fri May 28 2010 - 11:18:58 EST


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.
--
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/