From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757367AbYGTLKr (ORCPT ); Sun, 20 Jul 2008 07:10:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754942AbYGTLKj (ORCPT ); Sun, 20 Jul 2008 07:10:39 -0400 Received: from casper.infradead.org ([85.118.1.10]:43349 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754556AbYGTLKi (ORCPT ); Sun, 20 Jul 2008 07:10:38 -0400 Date: Sun, 20 Jul 2008 04:10:39 -0700 From: Arjan van de Ven To: Rene Herman Cc: linux-kernel@vger.kernel.org, mingo@elte.hu, Pavel Machek , "Rafael J. Wysocki" Subject: Re: [patch 1/3] fastboot: Create a "asynchronous" initlevel Message-ID: <20080720041039.275c57f9@infradead.org> In-Reply-To: <4882E7F3.8060605@keyaccess.nl> References: <20080718151524.5ef9e29b@infradead.org> <20080718151608.46dc17c0@infradead.org> <48819D92.8050904@keyaccess.nl> <4881A161.7050902@keyaccess.nl> <20080719084448.7859afd0@infradead.org> <4882E7F3.8060605@keyaccess.nl> Organization: Intel X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 20 Jul 2008 09:23:31 +0200 Rene Herman wrote: > Yes, I see. Unfortunately, WITH your patches, driver_probe_done() > would also no longer be safe when run from a late_initcall() it would > appear. true for now (but see below) > I have the sneaking suspicion that this is a bit of a fundamental > issue. Turning some of the driver level (6) async basicaly removes > the ordering between drivers and late_initcall (level 7). I was hoping to not need this ordering. > > I trust it will completely and utterly destroy the point of this > patch to flush level 6a before starting level 7? Thankfully it doesn't destroy it, the reason for this is that level 6 itself tends to take long enough to get benefits. It's just that if we can get both 6 and 7 it's nicer. But if we end up needing to sync, so be it. Note: syncing on a driver_probe_done() from level 7 is not going to be pretty (think "multi-second extra boot time). Part of me wants to only sync level 6a from the first driver_probe_done() so that only people who already pay these extra seconds suffer this one as well ;-) (it means that I'll just disable suspend-to-disk on my systems though) -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org