From owner-cvs-src@FreeBSD.ORG Mon Aug 18 07:56:38 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 418BD37B419 for ; Mon, 18 Aug 2003 07:56:38 -0700 (PDT) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 9E5EF43F3F for ; Mon, 18 Aug 2003 07:56:35 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: (qmail 83442 invoked by uid 1002); 18 Aug 2003 14:56:35 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 18 Aug 2003 14:56:35 -0000 Message-ID: <3F412F24.5060603@freebsd.org> Date: Mon, 18 Aug 2003 13:55:16 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp References: <200308160823.h7G8NrAv045177@repoman.freebsd.org> In-Reply-To: <200308160823.h7G8NrAv045177@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys timetc.h src/sys/kern kern_tc.c src/sys/i386/isa clock.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2003 14:56:38 -0000 Poul-Henning Kamp wrote: > phk 2003/08/16 01:23:53 PDT > > FreeBSD src repository > > Modified files: > sys/sys timetc.h > sys/kern kern_tc.c > sys/dev/acpica acpi_timer.c > sys/i386/i386 tsc.c > sys/i386/isa clock.c > Log: > Give timecounters a numeric quality field. > > A timecounter will be selected when registered if its quality is > not negative and no less than the current timecounters. > > Add a sysctl to report all available timecounters and their qualities. > > Give the dummy timecounter a solid negative quality of minus a million. > > Give the i8254 zero and the ACPI 1000. > > The TSC gets 800, unless APM or SMP forces it negative. > > Other timecounters default to zero quality and thereby retain current > selection behaviour. > > Revision Changes Path > 1.23 +6 -5 src/sys/dev/acpica/acpi_timer.c > 1.202 +16 -18 src/sys/i386/i386/tsc.c > 1.203 +2 -1 src/sys/i386/isa/clock.c > 1.154 +35 -8 src/sys/kern/kern_tc.c > 1.58 +7 -0 src/sys/sys/timetc.h > My Dell 8200 nows runs its clock at 2x speed. My dmesg reports having an 8254, TSC, and ACPI-fast counters, with the TSC being wildly variable from boot to boot. Scott