[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <86802c440803301629g6d1b896o27e12ef3c84ded2c@mail.gmail.com>
Date: Sun, 30 Mar 2008 16:29:15 -0700
From: "Yinghai Lu" <yhlu.kernel@...il.com>
To: "Andi Kleen" <andi@...stfloor.org>
Cc: "Jack Steiner" <steiner@....com>, "Ingo Molnar" <mingo@...e.hu>,
tglx@...utronix.de, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC 8/8] x86_64: Support for new UV apic
On Sun, Mar 30, 2008 at 2:18 PM, Andi Kleen <andi@...stfloor.org> wrote:
> > If there was a significant differece between UV and generic kernels
> > (or hardware), then I would agree. However, the only significant
> > difference is the APIC model on large systems. Small systems are
> > exactly compatible.
> >
> > The problem with subarch is that we want 1 binary kernel to support
>
> x86-64 subarchs are more options than true subarchs. They generally
> do not prevent the kernel from running on other systems, just
> control addition of some additional code or special data layout. They are
> quite different from the i386 subarchs or those of other architectures.
>
> The main reason vSMP is called a subarch is that it pads a lot
> of data structures to 4K and you don't really want that on your
> normal kernel, but there isn't anything in there that would
> prevent booting on a normal system.
>
> The UV option certainly doesn't have this issue.
>
>
> > both generic hardware AND uv hardware. This restriction is desirable
> > for the distros and software vendors. Otherwise, additional kernel
> > images would have to be built, released, & certified.
>
> I think an option would be fine, just don't call it a subarch. I don't
> feel strongly about it, as you point out it is not really very much
> code.
if the calling path like GET_APIC_ID is keeping checking if it is UV
box after boot time, that may not good.
don't need make other hundreds of machine keep running the code only
for several big box all the time.
YH
--
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