]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r358387:
authorHans Petter Selasky <hselasky@FreeBSD.org>
Fri, 6 Mar 2020 13:57:00 +0000 (13:57 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Fri, 6 Mar 2020 13:57:00 +0000 (13:57 +0000)
commitd0884c9158f7e90e811ff9c84f95458b451ae285
tree87e11ab1fe9ca3c077714201ed1e2fa1fdfbad07
parent8639286074decc85e3e7ace2a0a996f96005db6f
MFC r358387:
Extend the range of the return value from nsecs_to_jiffies64() to support
Mesa's drm_syncobj usage, in the LinuxKPI.

While at it optimise the jiffies conversion functions to avoid repeated
and constant calculations.

Submitted by: Greg V <greg@unrelenting.technology>
Differential Revision: https://reviews.freebsd.org/D23846
Sponsored by: Mellanox Technologies
sys/compat/linuxkpi/common/include/linux/jiffies.h
sys/compat/linuxkpi/common/src/linux_compat.c