[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201006010045.21382.rjw@sisk.pl>
Date: Tue, 1 Jun 2010 00:45:21 +0200
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: markgross@...gnar.org
Cc: Neil Brown <neilb@...e.de>, Thomas Gleixner <tglx@...utronix.de>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Brian Swetland <swetland@...gle.com>,
Arve Hjønnevåg <arve@...roid.com>,
linux-pm@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
mark.gross@...el.com, Alan Stern <stern@...land.harvard.edu>
Subject: Re: [RFC] lp_events: an lternitive to suspend blocker user mode and kernel API
On Tuesday 01 June 2010, mark gross wrote:
> On Mon, May 31, 2010 at 09:57:53AM +1000, Neil Brown wrote:
...
> > So I would suggest modifying your proposal to simply create a new 'input'
> > device. Any driver that supports wake-from-suspend queues an event to that
> > device when a wakeup event occurs. If the device is open and has any queued
> > events, then a suspend request such as 'echo mem > /sys/power/state' completes
> > without going into full suspend.
>
> /me likes.
>
> > Then you just need to convince us that this mechanism can be used without any
> > race problems. If it can, then it would certainly be a simple and
> > unobtrusive approach.
>
> Lets find out.
Simple question: how is that better than the Alan Stern's proposed approach?
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists