From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 11:40:26 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCFC837B401 for ; Sun, 6 Apr 2003 11:40:26 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30BCC43FBD for ; Sun, 6 Apr 2003 11:40:26 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 61ECB5308; Sun, 6 Apr 2003 20:40:25 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: "Poul-Henning Kamp" From: des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Sun, 06 Apr 2003 20:40:24 +0200 In-Reply-To: <28635.1049653552@critter.freebsd.dk> ("Poul-Henning Kamp"'s message of "Sun, 06 Apr 2003 20:25:52 +0200") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: <28635.1049653552@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable cc: current@freebsd.org Subject: Re: weird fxp / timecounter interaction in top-of-tree X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2003 18:40:27 -0000 "Poul-Henning Kamp" writes: > > and tc_init() to use the *first* timecounter it runs across (on i386, > > this is generally the i8254), leaving the admin to pick another one if > > the default does not suit her. See the attached patch. > This is wrong. Please do not commit it. OK. Any suggestion as to how we could rank timecounters so we can switch to a better one when it becomes available? Is this something we can determine statically (with a compiled-in preference list), or do we have to determine it at run time? DES --=20 Dag-Erling Sm=F8rgrav - des@ofug.org