aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/spdxtool/Makefile
diff options
context:
space:
mode:
authorWanpeng Qian <wanpengqian@gmail.com>2026-11-16 19:00:17 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2026-11-16 19:00:17 +0000
commit018bd70c4ac9c3e7b985ab775bf371cc59a22759 (patch)
tree513922b56221441f2a96d63e06ad9fb3656440e9 /usr.bin/spdxtool/Makefile
parent125b88f5aa91e524acbf00411aa993677857ad2d (diff)
vmm: do not let the RTC's periodic interrupt driftHEADmain
The callout of the periodic interrupt was rearmed from its handler with a timeout of one period from the time the handler ran. Each period was longer than programmed by the latency of the callout, so the interrupt came at a lower rate than the guest asked for. A guest that counts these interrupts to keep its time runs slow. Give the callout absolute deadlines one period apart, as vatpit does. If a deadline has already passed when it is computed, for instance after the VM was paused, start again from the current time. Signed-off-by: Wanpeng Qian <wanpengqian@gmail.com> Reviewed by: jhb Sponsored by: keelos.dev Differential Revision: https://reviews.freebsd.org/D60233
Diffstat (limited to 'usr.bin/spdxtool/Makefile')
0 files changed, 0 insertions, 0 deletions