Page MenuHomeFreeBSD

Use nstosbt() instead of multiplying by SBT_1NS to avoid roundoff errors.
ClosedPublic

Authored by ian on Jul 29 2017, 5:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 10 2026, 6:46 AM
Unknown Object (File)
May 9 2026, 2:19 PM
Unknown Object (File)
May 9 2026, 1:27 PM
Unknown Object (File)
May 3 2026, 6:51 PM
Unknown Object (File)
Apr 29 2026, 11:59 AM
Unknown Object (File)
Apr 29 2026, 9:07 AM
Unknown Object (File)
Apr 22 2026, 4:00 AM
Unknown Object (File)
Apr 19 2026, 7:38 AM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I didn't commit these along with the similar changes to the main source base because I didn't know if there were special considerations for cddl, such as needing to coordinate changes with upstream.

This is potentially a noticable behavior change, because of the use of C_ABSOLUTE in one of the calls. Absolute time in nanos calculated by multiplying with SBT_1NS could lead to seriously early wakeup from the sleep.

This revision is now accepted and ready to land.Sep 18 2017, 2:00 AM
This revision was automatically updated to reflect the committed changes.