Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jan 2003 07:17:02 +0100
From:      phk@freebsd.org
To:        Peter Wemm <peter@freebsd.org>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern kern_ntptime.c kern_tc.c 
Message-ID:  <2808.1041833822@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 05 Jan 2003 17:01:08 PST." <200301060101.h06118wq075034@repoman.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2808.1041833822>