From owner-freebsd-stable Sat Mar 18 16:47:57 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mail4.uunet.ca (mail4.uunet.ca [209.167.141.34]) by hub.freebsd.org (Postfix) with ESMTP id 1DDCB37B5D2 for ; Sat, 18 Mar 2000 16:47:55 -0800 (PST) (envelope-from matt@ARPA.MAIL.NET) Received: from epsilon.lucida.qc.ca ([216.95.146.6]) by mail4.uunet.ca with ESMTP id <210648-2796>; Sat, 18 Mar 2000 19:44:58 -0500 Date: Sat, 18 Mar 2000 19:44:57 -0500 From: Matt Heckaman X-Sender: matt@epsilon.lucida.qc.ca To: Patrick Gardella Cc: FreeBSD-STABLE Subject: Re: SMP oddity In-Reply-To: <38D4059B.AAE12834@whetstonelogic.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm afraid that I'm unable to test this at the moment, my only SMP machine is not something I can reboot for non-critical reasons without upsetting some customers. Thanks for taking care of this though, a strong reminder of one of the reasons I love FreeBSD. Matt -- Matt Heckaman [matt@arpa.mail.net|matt@relic.net] [Please do not send me] !Powered by FreeBSD/x86! [http://www.freebsd.org] [any SPAM (UCE) e-mail] On Sat, 18 Mar 2000, Patrick Gardella wrote: : Date: Sat, 18 Mar 2000 17:39:23 -0500 : From: Patrick Gardella : To: Brandon D. Valentine : Cc: Matt Heckaman , Brian O'Shea , : FreeBSD-STABLE : Subject: Re: SMP oddity : : "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