Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760097AbZADTIJ (ORCPT ); Sun, 4 Jan 2009 14:08:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755641AbZADTHy (ORCPT ); Sun, 4 Jan 2009 14:07:54 -0500 Received: from casper.infradead.org ([85.118.1.10]:44285 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750883AbZADTHx (ORCPT ); Sun, 4 Jan 2009 14:07:53 -0500 Date: Sun, 4 Jan 2009 11:09:32 -0800 From: Arjan van de Ven To: Andi Kleen Cc: linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, mingo@elte.hu, fweisbec@gmail.com, linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org, linux-acpi@vger.kernel.org, akpm@linux-foundation.org Subject: Re: [PATCH 1/4] fastboot: Asynchronous function calls to speed up kernel boot Message-ID: <20090104110932.6563cc6d@infradead.org> In-Reply-To: <87k59aops9.fsf@basil.nowhere.org> References: <20090104092430.7ffd2c41@infradead.org> <20090104092857.5fbf6b2d@infradead.org> <87k59aops9.fsf@basil.nowhere.org> Organization: Intel X-Mailer: Claws Mail 3.6.1 (GTK+ 2.14.5; 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 Content-Length: 1176 Lines: 35 On Sun, 04 Jan 2009 20:05:26 +0100 Andi Kleen wrote: > Surely the thread should die again boot up? On module load > synchronisity is usually not a problem. sadly that's not correct in practice based on the fast boot work we've done. > > Personally I think it would be better to make this more generic. > Various subsystems have thread pool implementations now, sort of kinda. If a good one appears I'd be happy to build on top of that, assuming it's generic enough. > and this > is just another variant that except for the sequence stuff > isn't all that much different. So it would be better to have > a generic worker thread manager that just supports these > barriers too. ... or maybe think about seeing this system as exactly that thread manager? -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org -- 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/