Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jan 2003 12:42:38 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Nate Lawson <nate@root.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, "David O'Brien" <obrien@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/kern subr_smp.c
Message-ID:  <XFMail.20030102124238.jhb@FreeBSD.org>
In-Reply-To: <Pine.BSF.4.21.0212291541200.85347-100000@root.org>

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

On 29-Dec-2002 Nate Lawson wrote:
> On Sun, 29 Dec 2002, David O'Brien wrote:
>> On Sat, Dec 28, 2002 at 03:53:00PM -0800, Nate Lawson wrote:
>> > On Sat, 28 Dec 2002, Jake Burkholder wrote:
>> > >   Modified files:
>> > >     sys/kern             subr_smp.c 
>> > >   Log:
>> > >   Add a tunable kern.smp.disabled for disabling explicitly smp on an smp
>> > >   kernel.
>> > >   
>> > >   Revision  Changes    Path
>> > >   1.171     +5 -1      src/sys/kern/subr_smp.c
>> > 
>> > Would love to see this go into RELENG_4 (and 5.0 for that matter).  This
>> > would aid testing.
>> 
>> That would only help Alpha wouldn't it?  We don't have the ability to
>> turn on and off SMP on i386.
> 
> It's never been possible to turn on smp after boot on FreeBSD.  This only
> disables it at boot time and should work on every platform.
> 
> I'm not sure what facility this would use on 4.x since it doesn't have
> loader tunables.  In any case, I'd like to see this in 5.0.

It wouldn't work in 4.x because of the broken way (compile-time choice)
we decide to use APICs or not.  Alpha doesn't have SMP in 4.x, so that
is irrelevant.

-- 

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 cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030102124238.jhb>