cvs commit: src/sys/ia64/ia64 interrupt.c
Marcel Moolenaar
marcel at FreeBSD.org
Tue Apr 12 11:50:58 PDT 2005
marcel 2005-04-12 18:50:57 UTC
FreeBSD src repository
Modified files:
sys/ia64/ia64 interrupt.c
Log:
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@
Revision Changes Path
1.48 +7 -5 src/sys/ia64/ia64/interrupt.c
More information about the cvs-src
mailing list