Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 2003 16:08:31 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        smp@freebsd.org
Subject:   RE: UP ans SMP on the same kernel
Message-ID:  <Pine.BSF.4.21.0303031606390.42494-100000@InterJet.elischer.org>
In-Reply-To: <XFMail.20030303180553.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 3 Mar 2003, John Baldwin wrote:

> 
> On 03-Mar-2003 Julian Elischer wrote:
> > 
> > 
> > How much work would it take to make a kernel that could run
> > on both SMP and UP machines (and use the extra CPUs?)
> > 
> > UP kernels can run on SMP hardware, so I guess that it's mainly finding
> > a way of switching from using the PIC to using some APICS
> > dynamically, when you find that you have SMP hardware.
> > 
> > Incidently I have several UP machines that have APICs
> > and it may be effective to be able to run an APIC
> > kernel on this hardware..
> > 
> > (This all assumes that the rest of the kernel was compiled
> > SMP to have all the lockeng etc.)
> 
> I am working on this, but it's taking a while amongst other
> distractions.  The real work is in the PIC vs. APIC stuff.
> The actual SMP part is fairly easy as the sparc64, alpha, and
> ia64 ports demonstrate.

That's good to know..

We have spent a lot of effort making one "universal" kernel for our
systems in the field, but now that we have some SMP machines, 
suddenly we have 2 again.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0303031606390.42494-100000>