[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201001091440.46434.rjw@sisk.pl>
Date: Sat, 9 Jan 2010 14:40:46 +0100
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: Pavel Machek <pavel@....cz>
Cc: "Bart?omiej Zimo?" <uzi18@...pl>, Andy Walls <awalls@...ix.net>,
Daniel Borkmann <danborkmann@...glemail.com>,
linux-kernel@...r.kernel.org
Subject: Re: [suspend/resume] Re: userspace notification from module
On Saturday 09 January 2010, Pavel Machek wrote:
> > > Just need as fast as possible solution and on the other hand acceptable for kernel sources.
> > > Usually programs needs just to disconnect something or set one flag.
> > > Even if program will have no time for this it could be enough just to send this precious info.
> >
> > Perhaps I don't understand correctly what you're trying to achieve, but at the
> > moment suspend is always started from user space, this way or another, and on
>
> At least zaurus (arm) suspends from kernel on battery critical.
I wasn't aware of this.
That may be a good reason for adding kernel-based suspend notification,
although I'd prefer ARM to notify the user space about the critical battery
status allowing it to decide what to do.
IMhO automatic suspend without something like the Android's wakelocks hurts
more than it helps.
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