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)
Thu, Oct 23, 12:28 AM
Unknown Object (File)
Sat, Oct 18, 7:03 AM
Unknown Object (File)
Fri, Oct 17, 5:39 AM
Unknown Object (File)
Wed, Oct 15, 6:43 AM
Unknown Object (File)
Wed, Oct 15, 6:43 AM
Unknown Object (File)
Wed, Oct 15, 6:43 AM
Unknown Object (File)
Tue, Oct 14, 8:45 PM
Unknown Object (File)
Sep 20 2025, 3:15 AM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 10739

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.