git: DragonFly_RELEASE_5_8 kernel - Offset the stathz systimer by 50% of the hz timer
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Feb 28 09:16:46 PST 2020
commit 6a635c1d684e8fe8b041efba0159ab0105a67845
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Thu Feb 13 21:48:23 2020 -0800
kernel - Offset the stathz systimer by 50% of the hz timer
* Offset the initial starting point of the stathz systimer by
50% of the hz timer, so they do not interfere with each other
if they happen to be set to the same frequency.
* Change the default stathz frequency to hz + 1 (101hz) so it
slides across the tick interval window.
Summary of changes:
sys/kern/kern_clock.c | 7 +++++--
sys/kern/kern_systimer.c | 5 ++++-
sys/kern/subr_param.c | 3 ++-
sys/sys/systimer.h | 1 +
4 files changed, 12 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6a635c1d684e8fe8b041efba0159ab0105a67845
--
DragonFly BSD source repository
More information about the Commits
mailing list