From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: Async suspend-resume patch w/ completions (was: Re: Async suspend-resume patch w/ rwsems) Date: Sun, 20 Dec 2009 01:35:21 +0100 Message-ID: <200912200135.21477.rjw@sisk.pl> References: <200912200053.45988.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from ogre.sisk.pl ([217.79.144.158]:36193 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754503AbZLTAes (ORCPT ); Sat, 19 Dec 2009 19:34:48 -0500 In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Linus Torvalds Cc: Dmitry Torokhov , Alan Stern , Zhang Rui , LKML , ACPI Devel Maling List , pm list On Sunday 20 December 2009, Linus Torvalds wrote: > > On Sun, 20 Dec 2009, Rafael J. Wysocki wrote: > > > > > > Why would it be? > > > > The embedded controller may depend on it. > > Again, I say "why?" > > Anything can be true. That doesn't _make_ everything true. There's no real > reason why PnP/ACPI suspend/resume should really care. > > We can try it. Not for 2.6.33, but by the 34 merge window maybe we'll have > a patch-series that is ready to be tested, and that aggressively tries to > do the devices that matter asynchronously. Yes, I'd like to have such a patch series for 2.6.34. So far I've been able to confirm that doing serio+i8042, USB and ACPI battery asynchronously may give us significant time savings, especially during resume. > So instead of you trying to make up some idiotic cross-device worries, > just see if those worries have any actual background in reality. So far I > haven't actually heard anything but "in theory, anything is possible", > which is such a truism that it's not even worth voicing. > > That said, I still get the feeling that we'd be even better off simply > trying to avoid the whole keyboard reset entirely. Apparently we do it for > a few HP laptops. It's entirely possible that we'd be better off simply > not _doing_ the slow thing in the first place. That very well may be the case, but I'm not the right person to confirm or deny that. Rafael