weird fxp / timecounter interaction in top-of-tree

Poul-Henning Kamp phk at phk.freebsd.dk
Sun Apr 6 12:35:54 PDT 2003


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.


More information about the freebsd-current mailing list