From owner-cvs-all Tue Dec 12 8:51:36 2000 From owner-cvs-all@FreeBSD.ORG Tue Dec 12 08:51:35 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from webcom.it (brian.inet.it [213.92.4.195]) by hub.freebsd.org (Postfix) with SMTP id 5B28937B402 for ; Tue, 12 Dec 2000 08:51:34 -0800 (PST) Received: (qmail 39528 invoked by uid 1000); 12 Dec 2000 16:45:23 -0000 Date: Tue, 12 Dec 2000 17:45:22 +0100 From: Andrea Campi To: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_ktr.c Message-ID: <20001212174522.C440@webcom.it> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.org on Tue, Dec 12, 2000 at 08:39:31AM -0800 X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Mutex operations actually resulted only on the i386 arch, only if the > > i8254 timecounter was used (i.e., mainly on pre-PCI pre-Pentium > > systems). Both the alpha and the i386 have an i8254 timecounter which > > should use mutex operations, but the alpha version was copied from > > the i386 version before mutex operations were added to the latter, > > and it has rotted. > > It would crash both my dual P3-600 and my P3-700 laptop, so it wasn't limited > to just pre-PCI. :-/ Granted, I have apm turned on (even though it doesn't > work) for my laptop, which is why the TSC isn't used there, and we don't use > the TSC on SMP systems at all. The alpha code probably does need to have > clock_lock added to it. By the way, may I ask exactly how and why should one use: CLK_USE_I8254_CALIBRATION and/or CLK_USE_TSC_CALIBRATION I could find no description or hint whatsoever... -- I believe the technical term is "Oops!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message