Re: [GIT PULL] KVM: x86: MMU changes for 6.9

From: Paolo Bonzini
Date: Thu Mar 14 2024 - 14:31:57 EST


On Fri, Mar 8, 2024 at 11:37 PM Sean Christopherson <seanjc@xxxxxxxxxx> wrote:
>
> - Zap TDP MMU roots at 4KiB granularity to minimize the delay in yielding if
> a reschedule is needed, e.g. if a high priority task needs to run. Because
> KVM doesn't support yielding in the middle of processing a zapped non-leaf
> SPTE, zapping at 1GiB granularity can result in multi-millisecond lag when
> attempting to schedule in a high priority.
>

Would 2 MiB provide a nice middle ground?

Paolo