time(3): Align fast clock times to avoid firing multiple timers.
authorHans Petter Selasky <hselasky@FreeBSD.org>
Mon, 3 Oct 2022 08:54:40 +0000 (10:54 +0200)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Mon, 3 Oct 2022 15:53:17 +0000 (17:53 +0200)
commit0def80f1a5c8f7a02b92c823e5c71f9f746c3e6b
tree7129b6c1a2d3cebc313035adc26eb2c760f48884
parent03d66186f626736ca0467965ac456371e7bd0c9c
time(3): Align fast clock times to avoid firing multiple timers.

In non-periodic mode absolute timers fire at exactly the time given.
When specifying a fast clock, align the firing time so that less
timer interrupt events are needed.

Reviewed by: rrs @
Differential Revision: https://reviews.freebsd.org/D36858
MFC after: 1 week
Sponsored by: NVIDIA Networking
sys/kern/kern_umtx.c