Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2000 17:39:23 -0500
From:      Patrick Gardella <patrick@whetstonelogic.com>
To:        "Brandon D. Valentine" <bandix@looksharp.net>
Cc:        Matt Heckaman <matt@ARPA.MAIL.NET>, "Brian O'Shea" <boshea@ricochet.net>, FreeBSD-STABLE <FreeBSD-STABLE@FreeBSD.ORG>
Subject:   Re: SMP oddity
Message-ID:  <38D4059B.AAE12834@whetstonelogic.com>
References:  <Pine.BSF.4.21.0003181458170.62701-100000@turtle.looksharp.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"Brandon D. Valentine" wrote:
> 
> On Sat, 18 Mar 2000, Matt Heckaman wrote:
> 
> >This is interesting. I have seen at least one SMP box that reported the
> >speed which was 4.0-CURRENT SMP, I wonder what the reason for the defs
> >below not showing speed on the CPU is..
> 
> Seems to be this would be a pretty trivial MFC.  I can't imagine any
> reason the same behavior isn't possible under a 3.x kernel.
> 
> Does a committer want to look into merging those changes into the
> RELENG_3 identcpu.c?

Before I commit this, would you all test it to make sure it works?  
(It was done in September to -CURRENT as diff 1.76)

--- src/sys/i386/i386/identcpu.c.orig   Sat Mar 18 17:38:09 2000
+++ src/sys/i386/i386/identcpu.c        Sat Mar 18 17:38:42 2000
@@ -508,21 +508,17 @@
 #endif
 #if defined(I586_CPU)
        case CPUCLASS_586:
-#ifndef SMP
                printf("%d.%02d-MHz ",
                       (tsc_freq + 4999) / 1000000,
                       ((tsc_freq + 4999) / 10000) % 100);
-#endif
                printf("586");
                break;
 #endif
 #if defined(I686_CPU)
        case CPUCLASS_686:
-#ifndef SMP
                printf("%d.%02d-MHz ",
                       (tsc_freq + 4999) / 1000000,
                       ((tsc_freq + 4999) / 10000) % 100);
-#endif
                printf("686");
                break;
 #endif

Patrick
----------
Patrick Gardella                 patrick@whetstonelogic.com
VP-Technology                    patrick@freebsd.org
Whetstone Logic, Inc.            This space intentionally left blank.


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38D4059B.AAE12834>