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

From: Alan Stern
Date: Thu May 27 2010 - 17:26:12 EST


On Thu, 27 May 2010, Matthew Garrett wrote:

> On Thu, May 27, 2010 at 10:23:50PM +0200, Thomas Gleixner wrote:
> > On Thu, 27 May 2010, Matthew Garrett wrote:
> > > A wakeup event is defined as one that wakes the system - if a system
> > > can't be woken by a specific event then it's impossible to lose it,
> > > since it wasn't a wakeup event to begin with.
> >
> > So where is the problem ?
>
> The problem is that, right now, if a wakeup event is received between
> the point where userspace decides to start a suspend and userspace
> actually starts a suspend, that event may not abort the suspend.

The two of you are talking at cross purposes. Thomas is referring to
idle-based suspend and Matthew is talking about forced suspend.

Or at least, that's how it appears to me. No wonder you can't agree on
anything.

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/