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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux