git: pc64: Turn CLK_USE_* flags into tunable, skip code when results are unused.
    Imre Vadasz 
    ivadasz at crater.dragonflybsd.org
       
    Fri Sep  1 14:09:22 PDT 2017
    
    
  
commit 242fd95fc3bfeffee12345fa80766370654d2109
Author: Imre Vadász <imre at vdsz.com>
Date:   Thu Aug 31 22:43:41 2017 +0200
    pc64: Turn CLK_USE_* flags into tunable, skip code when results are unused.
    
    * This should save ca. 1s during bootup, by skipping the i8254 and TSC
      calibration based on the RTC, when we aren't actually using the result
      in any way.
    
    * For now, continue running that calibration code, when booting in verbose
      mode, to keep printing these potentially useful calibration results.
    
    * Setting the hw.calibrate_timers_with_rtc tunable to 1, will enable this
      calibration code, and use those results for the i8254 and TSC frequencies.
Summary of changes:
 sys/config/LINT64             | 14 --------------
 sys/platform/pc64/isa/clock.c | 37 +++++++++++++++++++++++--------------
 2 files changed, 23 insertions(+), 28 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/242fd95fc3bfeffee12345fa80766370654d2109
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list