Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Mar 2003 18:05:53 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        smp@freebsd.org
Subject:   RE: UP ans SMP on the same kernel
Message-ID:  <XFMail.20030303180553.jhb@FreeBSD.org>
In-Reply-To: <Pine.BSF.4.21.0303031224510.42494-100000@InterJet.elischer.org>

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

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.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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?XFMail.20030303180553.jhb>