From owner-freebsd-stable Sat Mar 18 14:41:45 2000 Delivered-To: freebsd-stable@freebsd.org Received: from green.wl.vg (green.wl.vg [204.203.49.94]) by hub.freebsd.org (Postfix) with ESMTP id 09E5037B613 for ; Sat, 18 Mar 2000 14:41:42 -0800 (PST) (envelope-from patrick@whetstonelogic.com) Received: from whetstonelogic.com (pathome [209.9.69.194]) by green.wl.vg (8.9.3/8.9.3) with ESMTP id OAA70855; Sat, 18 Mar 2000 14:40:57 -0800 (PST) (envelope-from patrick@whetstonelogic.com) Message-ID: <38D4059B.AAE12834@whetstonelogic.com> Date: Sat, 18 Mar 2000 17:39:23 -0500 From: Patrick Gardella Organization: Whetstone Logic, Inc. X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: "Brandon D. Valentine" Cc: Matt Heckaman , "Brian O'Shea" , FreeBSD-STABLE Subject: Re: SMP oddity References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "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