Re: arch/xen is a bad idea
From: Ian Pratt
Date: Sat Dec 18 2004 - 12:58:40 EST
> On Tue, Dec 14, 2004 at 07:59:50PM +0100, Andi Kleen wrote:
> > I suspect xen64 will be rather different from xen32 anyways
> > because as far as I can see the tricks Xen32 uses to be
> > fast (segment limits) just plain don't work on 64bit
> > because the segments don't extend into 64bit space.
> > So having both in one architecture may also end up messy.
> > And i386 and x86-64 are in many pieces very different anyways,
> > I have my doubts that trying to mesh them together in arch/xen
> > will be very pretty.
> I have an inkling that the xen implementors may have plots of
> additional architecture ports. If it really is x86/x86-64 -only it
> isn't worth bothering with a separate arch/ dir, but it would be if it
> were ported to a large number of architectures.
For non x86 architectures, the changes required are typically
much less, and it makes sense to integrate them into the normal
architecture tree. This is what has been done with ia64, and will
be done with ppc. i386 and x86_64 are a special case where the
extensive changes required justify having an arch xen directory
with i386 and x86_64 subtrees beneath it (although many files are
just linked from the normal architecture).
> Maybe they're modelling it after UML which has its own arch/ dir but
> then grabs assorted things from other architectures; in that event I
> wouldn't consider it so misguided.
Yep, that's the model, for the x86 family.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/