From owner-cvs-all Sun Jan 5 22:17:13 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30F0037B401; Sun, 5 Jan 2003 22:17:12 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46E4243ED4; Sun, 5 Jan 2003 22:17:11 -0800 (PST) (envelope-from phk@freebsd.org) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h066H2Hj002809; Mon, 6 Jan 2003 07:17:02 +0100 (CET) (envelope-from phk@freebsd.org) To: Peter Wemm Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_ntptime.c kern_tc.c From: phk@freebsd.org In-Reply-To: Your message of "Sun, 05 Jan 2003 17:01:08 PST." <200301060101.h06118wq075034@repoman.freebsd.org> Date: Mon, 06 Jan 2003 07:17:02 +0100 Message-ID: <2808.1041833822@critter.freebsd.dk> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <200301060101.h06118wq075034@repoman.freebsd.org>, Peter Wemm writes : >peter 2003/01/05 17:01:08 PST > > Modified files: > sys/kern kern_ntptime.c kern_tc.c > Log: > Explicitly have the timecounter init happen after the cpu_initclocks is > called. Otherwise (depending on a non-deterministic sort), the timecounter > code can be initialized before the clock rate has been set (on ia64) and it > assumes hz = 100, rather than the real value of 1024. I'm not sure how much > gets upset by this. Nothing really. Only issue would be very high HZ where you will spend more time fiddling timecounters than you need, but getting better get*time() resolution for the effort. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message