Re: [linux-pm] [PATCH] PM: Make it possible to avoid wakeup eventsfrom being lost

From: Alan Stern
Date: Sat Jun 26 2010 - 15:58:30 EST


On Sat, 26 Jun 2010, Rafael J. Wysocki wrote:

> On Saturday, June 26, 2010, Alan Stern wrote:
> > On Sat, 26 Jun 2010, David Brownell wrote:
> ...
> > > > + The
> > > > /sys/power/wakeup_count file allows user space to avoid
> > > > + losing wakeup events
> > > > when transitioning the system into a sleep
> > > > + state. Reading
> >
> > This could have been phrased better: The /sys/power/wakeup_count file
> > allows user space to put the system into a sleep state conditionally
> > subject to the arrival of concurrent wakeup events, which will either
> > block the sleep transition or cause it to fail.
>
> I'll chage this in the final version. Thanks!

Even this should be simplified, if possible. Maybe something like: ...
put the system into a sleep state while taking into account the
concurrent arrival of wakeup events ...

I tried to put the word "reliably" in there, but it didn't seem to fit.
After all, the current /sys/power/state is already very reliable about
putting the system to sleep!

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/