Re: [PATCH] KVM: VMX: Micro-optimize vmexit time when not exposing PMU

From: Vitaly Kuznetsov
Date: Fri Mar 13 2020 - 05:08:08 EST


Jim Mattson <jmattson@xxxxxxxxxx> writes:

> On Thu, Mar 12, 2020 at 3:36 AM Vitaly Kuznetsov <vkuznets@xxxxxxxxxx> wrote:
>
>> Also, speaking about cloud providers and the 'micro' nature of this
>> optimization, would it rather make sense to introduce a static branch
>> (the policy to disable vPMU is likely to be host wide, right)?
>
> Speaking for a cloud provider, no, the policy is not likely to be host-wide.

Ah, then it's just my flawed picture of the world where hosts only run
instances of the same type/family because it's mych easier to partition
them this way.

Scratch the static branch idea then.

--
Vitaly