On 01/01/20(Wed) 22:13, Scott Cheloha wrote: > > On Dec 31, 2019, at 9:35 AM, Martin Pieuchot <m...@openbsd.org> wrote: > > > > I'd like to stop converting the given timespec to ticks and instead use > > nanoseconds. This is part of the ongoing effort to reduce the use of > > `hz' through the kernel. > > > > Since I don't know C I'd appreciate any pointer about the checks that > > should be added to TIMESPEC_TO_NSEC(). > > > > Then the conversions to {t,rw}sleep_nsec(9) become trivial, diff below. > > We can't do this until timeouts have a tickless interface. Otherwise > your timeouts will return early. That's why I was saving the sys/kern > conversions until after resolving that issue.
I don't understand, can you elaborate?