Re: [PATCH v2 5/5] KVM: VMX: Handle preemption timer fastpath

From: Paolo Bonzini
Date: Thu Apr 23 2020 - 06:29:58 EST


On 23/04/20 11:56, Wanpeng Li wrote:
>> Please re-evaluate if this is needed (or which parts are needed) after
>> cleaning up patch 4. Anyway again---this is already better, I don't
>> like the duplicated code but at least I can understand what's going on.
> Except the apic_lvtt_tscdeadline(apic) check, others are duplicated,
> what do you think about apic_lvtt_tscdeadline(apic) check?

We have to take a look again after you clean up patch 4. My hope is to
reuse the slowpath code as much as possible, by introducing some
optimizations here and there.

Paolo