git: kernel - Offset the stathz systimer by 50% of the hz timer

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Feb 13 22:16:38 PST 2020


commit 880fb308b98d323a4961a00d044efcc973d0cfab
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/880fb308b98d323a4961a00d044efcc973d0cfab


-- 
DragonFly BSD source repository


More information about the Commits mailing list