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>
This commit is contained in:

committed by
Paolo Bonzini

parent
bf653b78f9
commit
d0f5a86a34
@@ -35,7 +35,6 @@ struct kvm_timer {
|
||||
s64 advance_expire_delta;
|
||||
atomic_t pending; /* accumulated triggered timers */
|
||||
bool hv_timer_in_use;
|
||||
bool timer_advance_adjust_done;
|
||||
};
|
||||
|
||||
struct kvm_lapic {
|
||||
|
Reference in New Issue
Block a user