Re: SMP on assym. x86

Linus Torvalds (torvalds@transmeta.com)
21 Mar 2001 09:16:20 -0800


In article <20010321165541.H3514@garloff.casa-etp.nl>,
Kurt Garloff <garloff@suse.de> wrote:
>
>recently upgrading one of my two CPUs, I found kernel-2.4.2 to be unable to
>handle the situation with 2 different CPUs (AMP =3D Assymmetric
>multiprocessing ;-) correctly.

This is not really a configuration Linux supports. You can hack it to
work in many cases, but I'm generally not inclined to make this a an
issue for me because:

- intel explicitly doesn't support it necessarily even in hardware.
You're supposed to only mix CPU's of the same stepping within a
family, never mind different families. They sometimes explicitly say
which steppings are compatible and can be mixed.

NOTE! For all I know, this might, for all I know, actually be due to
fundamental issues like cache coherency protocol timing or similar.
Safe answer: just say no.

- The boot CPU under Linux is special, and will be used to determine
things like support for 4M pages etc. It will then re-write the page
tables to be more efficient. If the other CPU's don't support all the
features the boot CPU has, they'll have serious trouble booting up.

NOTE! I'm not all that interested in trying to complicate the bootup
logic to take into account all the differences that can occur.
Especially as it only happens on arguably very broken hardware that
doesn't meet the specs anyway.

So I'm perfectly happy with you fixing it on your machine, but right now
I have no incentives to make this a "real" option for a standard kernel.

I retain the right to change my mind, as always. Le Linus e mobile.

Linus
-
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/