]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Dot the i's:
authormarcel <marcel@FreeBSD.org>
Tue, 12 Apr 2005 18:50:57 +0000 (18:50 +0000)
committermarcel <marcel@FreeBSD.org>
Tue, 12 Apr 2005 18:50:57 +0000 (18:50 +0000)
commitd752e216d4a4392229d00cb5b0f5557583a243cf
tree4ba768a09d9c2b87fa8f4bcdf26de7205a95dcf2
parent8105e9aef9a39be486c0f09b2eefce4bb92e50ef
Dot the i's:
1  Move the debug.clock_adjust_* sysctls to debug.clock.adjust_* to
   make it easier to get only the clock statistics.
2  Make the sysctls read-only [suggested by Marius].
3  When determining the new clock adjustment, we checked for an error
   either larger than 12.5% or smaller than 12.5%. We left out an error
   of exactly 12.5%. For errors larger than 12.5% we adjust the clock
   reload value in such a way that the next clock interrupt would be
   early (as in premature). For errors less than 12.5% we stopped the
   adjustment.
   The current algorithm doesn't benefit from excluding an error of
   exactly 12.5%. Change the code to stop adjusting the clock if the
   error is *not* larger than 12.5% [suggested by Marius].

Discussed with: marius@
sys/ia64/ia64/interrupt.c