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)
Sun, Dec 22, 11:09 AM
Unknown Object (File)
Fri, Dec 20, 8:48 PM
Unknown Object (File)
Sun, Dec 1, 9:57 PM
Unknown Object (File)
Tue, Nov 26, 11:21 PM
Unknown Object (File)
Nov 21 2024, 4:21 PM
Unknown Object (File)
Nov 16 2024, 11:50 AM
Unknown Object (File)
Oct 19 2024, 6:07 PM
Unknown Object (File)
Sep 26 2024, 10:28 PM
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.