[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20061019165834.GU29920@ftp.linux.org.uk>
Date: Thu, 19 Oct 2006 17:58:34 +0100
From: Al Viro <viro@....linux.org.uk>
To: Denis Vlasenko <vda.linux@...glemail.com>
Cc: Dave Jones <davej@...hat.com>, Linus Torvalds <torvalds@...l.org>,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org
Subject: Re: [RFC] typechecking for get_unaligned/put_unaligned
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists