Date: Sun, 21 Jun 1998 05:22:38 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/conf param.c Message-ID: <199806211222.FAA27510@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1998/06/21 05:22:38 PDT
Modified files:
sys/conf param.c
Log:
Round tickadj up. This prevents tickadj from being 0 when HZ > 500,
which makes adjtime(2) useless and confuses xntpd(8) into refusing
to start even when it would use the kernel PLL instead of adjtime().
The result is the same as recommended by tickadj(8), at least when
HZ divides 10^6. Of course, you wouldn't want to actually use
adjtime() when HZ is large. In the silly boundary case of HZ == 10^6,
tickadj == tick == 1 so the clock stops while adjtime() is active.
Revision Changes Path
1.28 +2 -2 src/sys/conf/param.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806211222.FAA27510>
