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

From: Alan Stern
Date: Fri May 28 2010 - 11:30:45 EST


On Fri, 28 May 2010, Peter Zijlstra wrote:

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

True. If the untrusted apps can be segregated and forcibly stopped,
and if they don't need timely delivery of wakeup events, then there's
no problem.

Alan Stern

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