Should the HAVE_KERNEL_PLL conditional be abolished?

Eric S. Raymond esr at thyrsus.com
Sun Dec 3 14:22:07 UTC 2017


Should the HAVE_KERNEL_PLL conditional be abolished?  Or. to put it
equivalently, do we have any development targets that lack
ntp_adjtime()/adjtimex()?

I am now almost sure the answer is no, and that conditional is a relic
from before Unix kernels routinely shipped with those fine-grained
clock controls (e.g. more than 20 years ago).  But I want to be sure
before I rip out the conditional and always enable that code.

Systems known to have it:  All Linuxes, FreeBSD, NetBSD, OPenBSD,
MacOS X.  The Go language's OS bindings assume it exists. Solaris.
HP-UX. AIX.

Removing this conditional would significantly simplify some gnarly
code paths and configuration tangles.  It might even make resurrecting
TESTFRAME possible.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

As the Founding Fathers knew well, a government that does not trust its honest,
law-abiding, taxpaying citizens with the means of self-defense is not itself
worthy of trust. Laws disarming honest citizens proclaim that the government
is the master, not the servant, of the people.
        -- Jeff Snyder


More information about the devel mailing list