Are we interested in supporting low resolution system clocks?

Eric S. Raymond esr at thyrsus.com
Wed Jun 7 00:41:32 UTC 2017


Hal Murray via devel <devel at ntpsec.org>:
> 
> > I have run tests removing the fuzz code.  Never found any change with or
> > without the clock fuzz.  I was too scared to remove it.
> 
> It's scattered all over the place so I'm impressed if you really removed it 
> all.
> 
> The code that I was looking at in ntp_packetstamp had a run time test.
>         if (sys_tick > measured_tick && sys_tick > S_PER_NS) {
> and sys_tick == measured_tick on one sample system so the next few lines were 
> never executed.
> 
> If Eric and Mark agree that we don't need to support big tick OSes, I'll look 
> harder at trying to figure out what it does to see if there is anything 
> useful we need to save.

I think it is likely we don't need to support those.  But I'd be terrified
of yanking that code without some pretty xareful research and review. Not
a pre-1.0 thing.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

Please consider contributing to my Patreon page at https://www.patreon.com/esr
so I can keep the invisible wheels of the Internet turning. Give generously -
the civilization you save might be your own.



More information about the devel mailing list