Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754227Ab0FZT60 (ORCPT ); Sat, 26 Jun 2010 15:58:26 -0400 Received: from netrider.rowland.org ([192.131.102.5]:53652 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754016Ab0FZT6Y (ORCPT ); Sat, 26 Jun 2010 15:58:24 -0400 Date: Sat, 26 Jun 2010 15:58:23 -0400 (EDT) From: Alan Stern X-X-Sender: stern@netrider.rowland.org To: "Rafael J. Wysocki" cc: David Brownell , Linux-pm mailing list , mark gross <640e9920@gmail.com>, Florian Mickler , Neil Brown , , Dmitry Torokhov , Linux Kernel Mailing List , Jesse Barnes Subject: Re: [linux-pm] [PATCH] PM: Make it possible to avoid wakeup events from being lost In-Reply-To: <201006262021.42966.rjw@sisk.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1300 Lines: 33 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/