svn commit: r325108 - head/sys/amd64/vmm/io

Peter Grehan grehan at freebsd.org
Sun Oct 29 22:23:07 UTC 2017


>>    Improve the performance of the hpet timer in bhyve guests by making the
>>    timer frequency a power of two.  This changes the frequency from 10 to
>>    16.7 MHz (2 ^ 24 HZ).  Using a power of two avoids roundoff errors when
>>    doing arithmetic in sbintime_t units.
>>    
>>    Testing shows this can fix erratic ntpd behavior in guests using the
>>    hpet timer (which is the default for multicore guests).
>>    
>>    Reported by:	bsam@
>>
>> Modified:
>>    head/sys/amd64/vmm/io/vhpet.c

  In the future please respect MAINTAINERS and file a phab review for 
code in this area.

later,

Peter.


More information about the svn-src-all mailing list