Re: [PATCH v4 4/5] KVM: LAPIC: Delay trace advance expire delta

From: Paolo Bonzini
Date: Mon May 20 2019 - 07:35:57 EST


On 20/05/19 13:22, Wanpeng Li wrote:
>>
>> We would like to move wait_lapic_expire() just before vmentry, which would
>> place wait_lapic_expire() again inside the extended quiescent state. Drop
>> the tracepoint, but add instead another one that can be useful and where
>> we can check the status of the adaptive tuning procedure.
> https://lkml.org/lkml/2019/5/15/1435
>
> Maybe Sean's comment is reasonable, per-vCPU debugfs entry for
> adaptive tuning and wait_lapic_expire() tracepoint for hand tuning.

Hmm, yeah, that makes sense. The location of the tracepoint is a bit
weird, but I guess we can add a comment in the code.

Paolo