summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorcheloha <cheloha@openbsd.org>2020-07-07 04:05:25 +0000
committercheloha <cheloha@openbsd.org>2020-07-07 04:05:25 +0000
commit448c5a95e201685e3db38859d774d48722d48d1a (patch)
tree03cbe3ba8a7adabd2a8952d8b31c24cb2defa867 /lib/libssl/ssl_lib.c
parentcorrect recently broken comments (diff)
downloadwireguard-openbsd-448c5a95e201685e3db38859d774d48722d48d1a.tar.xz
wireguard-openbsd-448c5a95e201685e3db38859d774d48722d48d1a.zip
drm: use hi-res time to implement ktime_get(), ktime_get_real()
There seems to have been some confusion about the granularity of certain time interfaces in the Linux kernel when our DRM compatibility layer was written. To be clear: the Linux ktime_get() and ktime_get_real() interfaces are *high resolution* clocks. We should to implement them with high resolution interfaces from our own kernel. Thus, use microuptime(9) to implement ktime_get() and microtime(9) to implement ktime_get_real(). While here, ktime_get_raw_ns() should use ktime_get_raw(), not ktime_get(). Discussed with kettenis@ and jsg@. ok jsg@
Diffstat (limited to 'lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions