]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: LAPIC: Tune lapic_timer_advance_ns smoothly
authorWanpeng Li <wanpengli@tencent.com>
Tue, 17 Sep 2019 08:16:26 +0000 (16:16 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 24 Sep 2019 12:35:06 +0000 (14:35 +0200)
commitd0f5a86a34072c46b7fe1b8f8768e666d9d6f87f
tree521124893d51490591754ef4e2e93a1cf2ee1891
parentbf653b78f9608d66db174eabcbda7454c8fde6d5
KVM: LAPIC: Tune lapic_timer_advance_ns smoothly

Filter out drastic fluctuation and random fluctuation, remove
timer_advance_adjust_done altogether, the adjustment would be
continuous.

Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c
arch/x86/kvm/lapic.h