[PATCH v3 5/5] KVM: LAPIC: Optimize timer latency further

2019-06-12 Thread Wanpeng Li
From: Wanpeng Li Advance lapic timer tries to hidden the hypervisor overhead between the host emulated timer fires and the guest awares the timer is fired. However, it just hidden the time between apic_timer_fn/handle_preemption_timer -> wait_lapic_expire, instead of the real position of vment

Re: [PATCH v3 5/5] KVM: LAPIC: Optimize timer latency further

2019-05-20 Thread Sean Christopherson
On Mon, May 20, 2019 at 04:19:47PM +0800, Wanpeng Li wrote: > On Sat, 18 May 2019 at 03:50, Sean Christopherson > wrote: > > > > On Thu, May 16, 2019 at 11:06:20AM +0800, Wanpeng Li wrote: > > > From: Wanpeng Li > > > diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c > > > index 6b92eaf..955cf

Re: [PATCH v3 5/5] KVM: LAPIC: Optimize timer latency further

2019-05-20 Thread Wanpeng Li
On Sat, 18 May 2019 at 03:50, Sean Christopherson wrote: > > On Thu, May 16, 2019 at 11:06:20AM +0800, Wanpeng Li wrote: > > From: Wanpeng Li > > > > Advance lapic timer tries to hidden the hypervisor overhead between the > > host emulated timer fires and the guest awares the timer is fired. Howe

Re: [PATCH v3 5/5] KVM: LAPIC: Optimize timer latency further

2019-05-17 Thread Sean Christopherson
On Thu, May 16, 2019 at 11:06:20AM +0800, Wanpeng Li wrote: > From: Wanpeng Li > > Advance lapic timer tries to hidden the hypervisor overhead between the > host emulated timer fires and the guest awares the timer is fired. However, > it just hidden the time between apic_timer_fn/handle_preempt

[PATCH v3 5/5] KVM: LAPIC: Optimize timer latency further

2019-05-15 Thread Wanpeng Li
From: Wanpeng Li Advance lapic timer tries to hidden the hypervisor overhead between the host emulated timer fires and the guest awares the timer is fired. However, it just hidden the time between apic_timer_fn/handle_preemption_timer -> wait_lapic_expire, instead of the real position of vment