Return-Path: Received: from ogre.sisk.pl (ogre.sisk.pl [217.79.144.158]) by ozlabs.org (Postfix) with ESMTP id 7A0F2DDDEA for ; Sat, 15 Dec 2007 11:01:25 +1100 (EST) From: "Rafael J. Wysocki" To: Johannes Berg Subject: Re: apm_emulation regression Date: Sat, 15 Dec 2007 01:20:34 +0100 References: <1197427530.8385.59.camel@pasglop> <1197590712.15741.197.camel@pasglop> <1197634708.16079.46.camel@johannes.berg> In-Reply-To: <1197634708.16079.46.camel@johannes.berg> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Message-Id: <200712150120.35623.rjw@sisk.pl> Cc: linux-pm , ralf , linuxppc-dev list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Friday, 14 of December 2007, Johannes Berg wrote: > > > > It can use the new notifier that happens before freezing yes. Johannes, > > > I think that's pretty much what my old powermac implementation did > > > (using my private notifier scheme I had there), might be worth reviving > > > that bit and sticking it into the generic apm_emu ... > > > > Note that you may want to improve on it with a timeout in case userspace > > doesn't ack... > > Yeah heh. I'll take a look, shouldn't be too hard. Except I'm not > exactly sure how to test it. Create an artificially malicious application? ;-) Rafael