HomeFreeBSD

time(3): Align fast clock times to avoid firing multiple timers.

Description

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 @
Sponsored by: NVIDIA Networking
Differential Revision: https://reviews.freebsd.org/D36858

(cherry picked from commit 0def80f1a5c8f7a02b92c823e5c71f9f746c3e6b)

Details

Provenance
hselaskyAuthored on Oct 3 2022, 8:54 AM
Reviewer
rrs
Differential Revision
D36858: time(3): Align fast clock times to avoid firing multiple timers.
Parents
rG62e1bb424584: Fix umtxq_sleep() regression caused by 56070dd2e4d.
Branches
Unknown
Tags
Unknown