Bug 252816 - x11-servers/xorg-server: patch to utilize CLOCK_MONOTONIC_FAST for the clock
Summary: x11-servers/xorg-server: patch to utilize CLOCK_MONOTONIC_FAST for the clock
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-18 22:48 UTC by Sean Farley
Modified: 2021-01-20 13:15 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments
Patch to x11-servers/xorg-server (1.52 KB, patch)
2021-01-18 22:48 UTC, Sean Farley
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Farley freebsd_committer 2021-01-18 22:48:37 UTC
Created attachment 221720 [details]
Patch to x11-servers/xorg-server

This patches the X server to use CLOCK_MONOTONIC_FAST instead of CLOCK_MONOTONIC for the clock.  This is basically a reintroduction of r208485 by jkim@ that was removed by accident(?).

Since the X server is fine with the Linux _COARSE clock the accuracy of the FreeBSD _FAST clock should work too.  I have run with this patch for a long time without ill effects.