From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752814Ab0AIKfa (ORCPT ); Sat, 9 Jan 2010 05:35:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751617Ab0AIKfa (ORCPT ); Sat, 9 Jan 2010 05:35:30 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:56644 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751484Ab0AIKf3 (ORCPT ); Sat, 9 Jan 2010 05:35:29 -0500 Date: Sat, 9 Jan 2010 11:32:12 +0100 From: Pavel Machek To: "Rafael J. Wysocki" Cc: Bart?omiej Zimo? , Andy Walls , Daniel Borkmann , linux-kernel@vger.kernel.org Subject: Re: [suspend/resume] Re: userspace notification from module Message-ID: <20100109103212.GA1429@ucw.cz> References: <686edb2c.6263643a.4b3f4a3b.b60b3@o2.pl> <6f52f5b81001020756i73fbb137if1af8ac8b306f6ba@mail.gmail.com> <201001022201.04281.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001022201.04281.rjw@sisk.pl> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > 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. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html