Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755199AbZLTD7M (ORCPT ); Sat, 19 Dec 2009 22:59:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753430AbZLTD7K (ORCPT ); Sat, 19 Dec 2009 22:59:10 -0500 Received: from netrider.rowland.org ([192.131.102.5]:52611 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753134AbZLTD7I (ORCPT ); Sat, 19 Dec 2009 22:59:08 -0500 Date: Sat, 19 Dec 2009 22:59:06 -0500 (EST) From: Alan Stern X-X-Sender: stern@netrider.rowland.org To: "Rafael J. Wysocki" cc: Linus Torvalds , Dmitry Torokhov , Zhang Rui , LKML , ACPI Devel Maling List , pm list Subject: Re: Async suspend-resume patch w/ completions (was: Re: Async suspend-resume patch w/ rwsems) In-Reply-To: <200912200040.18944.rjw@sisk.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1096 Lines: 24 On Sun, 20 Dec 2009, Rafael J. Wysocki wrote: > So, seriously, do you think it makes sense to do asynchronous suspend at all? > I'm asking, because we're likely to get into troubles like this during suspend > for other kinds of devices too and without resolving them we won't get any > significant speedup from asynchronous suspend. > > That said, to me it's definitely worth doing asynchronous resume with the > "start asynch threads upfront" modification, as the results of the tests show > that quite clearly. I hope you agree. It's too early to come to this sort of conclusion (i.e., that suspend and resume react very differently to an asynchronous approach). Unless you have some definite _reason_ for thinking that resume will benefit more than suspend, you shouldn't try to generalize so much from tests on only two systems. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/