Bug 252816

Summary: x11-servers/xorg-server: patch to utilize CLOCK_MONOTONIC_FAST for the clock
Product: Ports & Packages Reporter: Sean Farley <scf>
Component: Individual Port(s)Assignee: freebsd-x11 (Nobody) <x11>
Status: New ---    
Severity: Affects Only Me CC: rhurlin
Priority: --- Flags: bugzilla: maintainer-feedback? (x11)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to x11-servers/xorg-server none

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.