Re: weird fxp / timecounter interaction in top-of-tree

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Sun, 06 Apr 2003 21:35:51 +0200
In message <xzpsmsvl9lk.fsf_at_flood.ping.uio.no>, Dag-Erling =?iso-8859-1?q?Sm=F8
rgrav?= writes:
>"Poul-Henning Kamp" <phk_at_phk.freebsd.dk> writes:
>> Defining "best" is at best hard, so I have resorted to the simple
>> technique we use now:  Don't call tc_init on a timecounter unless
>> you want to use it.
>
>Huh?  I added a Debugger() call to tc_init(), and can assure you that
>it gets called for every timecounter in the system (in my case i8254,
>PIIX, TSC and ACPI, not necessarily in that order).

But they they happen, by no coincidence, to be called in exactly
the right order to result in the best safe choice in current
circumstances :-)

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_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.
Received on Sun Apr 06 2003 - 10:35:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:02 UTC