Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946227AbWJSQ6m (ORCPT ); Thu, 19 Oct 2006 12:58:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946223AbWJSQ6m (ORCPT ); Thu, 19 Oct 2006 12:58:42 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:14542 "EHLO ZenIV.linux.org.uk") by vger.kernel.org with ESMTP id S1423036AbWJSQ6l (ORCPT ); Thu, 19 Oct 2006 12:58:41 -0400 Date: Thu, 19 Oct 2006 17:58:34 +0100 From: Al Viro To: Denis Vlasenko Cc: Dave Jones , Linus Torvalds , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [RFC] typechecking for get_unaligned/put_unaligned Message-ID: <20061019165834.GU29920@ftp.linux.org.uk> References: <20061017005025.GF29920@ftp.linux.org.uk> <20061018054242.GA21266@redhat.com> <20061018060500.GI29920@ftp.linux.org.uk> <200610191852.50967.vda.linux@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200610191852.50967.vda.linux@googlemail.com> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 984 Lines: 20 On Thu, Oct 19, 2006 at 06:52:50PM +0200, Denis Vlasenko wrote: > Well, logically for any given .config a set of all kernel header files > define a set of typedefs, structs, functions and so on. > If only we can read and parse them just once, and then reuse > already parsed information when we compile each .c file - > that will give you the biggest time savings. > > gcc has some facility for that ("precompiled headers") > http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html > > I don't know how hard it will be to adapt build system to using that > and there is a danger that using this thing will increase > recompile times when you change just a few CONFIG_XXXs. Or when you touch a single header. A brialliant idea, that. - 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/