Page MenuHomeFreeBSD

Initialize CLOCK_UPTIME for itmer events
ClosedPublic

Authored by imp on Fri, Jan 16, 7:08 PM.
Tags
None
Referenced Files
F142385275: D54746.diff
Mon, Jan 19, 10:25 AM
F142352684: D54746.diff
Sun, Jan 18, 10:51 PM
Unknown Object (File)
Sun, Jan 18, 10:02 AM
Unknown Object (File)
Sun, Jan 18, 6:57 AM
Unknown Object (File)
Sat, Jan 17, 3:24 AM
Unknown Object (File)
Sat, Jan 17, 1:59 AM
Unknown Object (File)
Sat, Jan 17, 12:52 AM
Unknown Object (File)
Fri, Jan 16, 11:00 PM
Subscribers

Details

Summary

Since we move to implement Linux's CLOCK_MONOTONIC with CLOCK_UPTIME, we
broke the some timer support for Linux. Fix this by initializing
CLOCK_UPTIME as a posix clock so we can use in that context.

PR: 292496
MFC After: 5 days
Fixes: 108de784513d
Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Fri, Jan 16, 7:08 PM

You might consider EXTERROR-ise kern_ktimer_create(), there are too many EINVALs there. Specific diagnostic would be useful.

This revision is now accepted and ready to land.Fri, Jan 16, 7:21 PM
This revision was automatically updated to reflect the committed changes.