[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070721222509.GI11166@waste.org>
Date: Sat, 21 Jul 2007 17:25:09 -0500
From: Matt Mackall <mpm@...enic.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: LKML <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...l.org>,
Andrew Morton <akpm@...l.org>, Andi Kleen <ak@...e.de>,
Ingo Molnar <mingo@...e.hu>,
Arjan van de Ven <arjan@...radead.org>,
Chris Wright <chrisw@...s-sol.org>,
Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [RFC, Announce] Unified x86 architecture, arch/x86
On Sat, Jul 21, 2007 at 12:32:59AM +0200, Thomas Gleixner wrote:
> How is the new arch/x86 and include/asm-x86 namespace layed out? Our
> foremost concern was to enable a 100% smooth transition to the new,
> shared architecture, while still enabling much more fine-grained future
> unification of the source code. To do this we consciously aimed for the
> strictest possible unification strategy: we only 'unified' those source
> files that are already bit for bit equal between the two architectures
> today. For all other files we used the following rule: if a file came
> from arch/i386/foo/bar.c, it gets moved to arch/x86/foo/bar_32.c, if it
> came from arch/x86_64/foo/bar.c it gets moved to arch/x86/foo/bar_64.c.
> We also generated arch/x86/foo/bar.c that simply #include's those two
> files (depending on whether we do a 32-bit or a 64-bit built). If a file
> only existed in only one of the architectures, it's moved to
> arch/x86/foo/bar.c straight away. (take a look at our git repository to
> see how this works out in practice.)
Can we see some stats on:
How many files were auto-merged?
How many files got 32.c and 64.c extensions?
How many existed only in one arch?
--
Mathematics is the supreme nostalgia of our time.
-
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