Re: [PATCH v2 4/4] KVM: LAPIC: Optimize timer latency further

2019-05-15 Thread Wanpeng Li
On Thu, 16 May 2019 at 01:42, Sean Christopherson wrote: > > On Wed, May 15, 2019 at 12:11:54PM +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.

Re: [PATCH v2 4/4] KVM: LAPIC: Optimize timer latency further

2019-05-15 Thread Sean Christopherson
On Wed, May 15, 2019 at 12:11:54PM +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

[PATCH v2 4/4] KVM: LAPIC: Optimize timer latency further

2019-05-14 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