Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 1998 05:38:52 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Poul-Henning Kamp <phk@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/kern kern_clock.c 
Message-ID:  <199811301338.FAA03590@dingo.cdrom.com>
In-Reply-To: Your message of "Sun, 29 Nov 1998 12:31:03 PST." <199811292031.MAA00945@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> phk         1998/11/29 12:31:03 PST
> 
>   Modified files:
>     sys/kern             kern_clock.c 
>   Log:
>   Make the previous behaviour the default, add a sysctl which you
>   can set if your hw/sw produces the "calcru negative..." message.

The sysctl should be automatically set by the "calcru negative ..."
detection code.

>   Setting the alternate method (sysctl -w kern.timecounter.method=1)
>   makes the the get{nano|micro}*() functions call the real thing at
>   resulting in a measurable but minor overhead.

This smells like a botch, not a fix.

>   I decided to NOT have the "calcru" change the method automatically
>   because you should be aware of this problem if you have it.

Bad.  There is now no correspondence between the diagnostic and the 
fix, and the user has to vector through a small number of people in 
order to resolve their problems.  

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



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?199811301338.FAA03590>