Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750775AbWJ0XU2 (ORCPT ); Fri, 27 Oct 2006 19:20:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750835AbWJ0XU2 (ORCPT ); Fri, 27 Oct 2006 19:20:28 -0400 Received: from mo-p04-ob.rzone.de ([81.169.146.178]:36832 "EHLO mo-p04-ob.rzone.de") by vger.kernel.org with ESMTP id S1750775AbWJ0XU1 (ORCPT ); Fri, 27 Oct 2006 19:20:27 -0400 Date: Sat, 28 Oct 2006 01:12:03 +0200 (MEST) From: Olaf Hering To: Alan Cox Cc: Andrew Morton , Pavel Machek , Greg KH , Stephen Hemminger , Matthew Wilcox , Adrian Bunk , Linus Torvalds , Linux Kernel Mailing List , linux-pci@atrey.karlin.mff.cuni.cz Subject: Re: [patch] drivers: wait for threaded probes between initcall levels Message-ID: <20061027231200.GA16102@aepfle.de> References: <20061027010252.GV27968@stusta.de> <20061027012058.GH5591@parisc-linux.org> <20061026182838.ac2c7e20.akpm@osdl.org> <20061026191131.003f141d@localhost.localdomain> <20061027170748.GA9020@kroah.com> <20061027172219.GC30416@elf.ucw.cz> <20061027113908.4a82c28a.akpm@osdl.org> <20061027114144.f8a5addc.akpm@osdl.org> <20061027114237.d577c153.akpm@osdl.org> <1161989970.16839.45.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1161989970.16839.45.camel@localhost.localdomain> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1057 Lines: 23 On Fri, Oct 27, Alan Cox wrote: > Ar Gwe, 2006-10-27 am 11:42 -0700, ysgrifennodd Andrew Morton: > > IOW, we want to be multithreaded _within_ an initcall level, but not between > > different levels. > > Thats actually insufficient. We have link ordered init sequences in > large numbers of driver subtrees (ATA, watchdog, etc). We'll need > several more initcall layers to fix that. Is it time for something better? True dependencies, an addition to or as replacement for module_init()? random example: hfs/super.c: depends_on_initialized(init_hfs_fs: init_hfsplus_fs,kmem_cache_thingie,core_filesystem_thingie,foo,bar,worldpeace); If init_hfsplus_fs() does not exist it should be no error. Whatever the sytax will be and however its parsed during build, that link order requirement bites every other month. - 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/