On 23-Mar-2002 Jake Burkholder wrote:
> Apparently, On Fri, Mar 22, 2002 at 10:05:27AM -0500,
> John Baldwin said words to the effect of;
>
>>
>> On 22-Mar-2002 Andy Isaacson wrote:
>> > On Thu, Mar 21, 2002 at 05:35:58PM -0800, Lars Eggert wrote:
>> >> Barney Wolff wrote:
>> >> > Remember that in computing, counting begins at 0. :)
>> >> > You have 2 cpu's running fine.
>> >>
>> >> Since this has come up a few times already, maybe we should change the
>> >> message to read:
>> >>
>> >> SMP: Another CPU (AP CPU #1) Launched!
>> >
>> > How about
>> > SMP: AP CPU #1 Launched, 2 running
>> >
>> > Or just stick a "%d CPUs running" at the end of the launch loop.
>>
>> In current you get a 'FreeBSD/SMP: Multiprocessor system: X cpus' message
>> during startup that is identical on all platforms.
>
> How about we remove both of these messages altogether and print identify
> lines for all cpus in the system. They can even look something like
> newbus device probes.
Some folks would like CPU's to be proper new-bus devices. I wouldn't mind
these types of messages.
> cpu0: Sun Microsystems UltraSparc-II Processor (450.07 MHZ CPU)
> cpu1: Sun Microsystems UltraSparc-II Processor (450.07 MHZ CPU)
> cpu2: Sun Microsystems UltraSparc-II Processor (450.07 MHZ CPU)
> cpu3: Sun Microsystems UltraSparc-II Processor (450.07 MHZ CPU)
> nexus0: <OpenFirmware Nexus device>
>
> The SMP: AP CPU #%d Launched! message is dangerous because it is printed
> before the non-boot cpus can safely acquire Giant; most architectures do
> it wrong.
Hmmmm. Well, we really need proper printf locking (which probably shouldn't
use blocking locks).
> Jake
--
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