]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Defer MMU sync on PCID invalidation
authorSean Christopherson <seanjc@google.com>
Wed, 9 Jun 2021 23:42:32 +0000 (16:42 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Jun 2021 17:09:54 +0000 (13:09 -0400)
commitc2f46ab968a49350373aa96e4a0753655c66b18d
tree8d51c4e9aea5c36e2023ca0171eb808a27b7792c
parentee8d6631e727b683d50c302fd8db39730ca41e12
KVM: x86: Defer MMU sync on PCID invalidation

Defer the MMU sync on PCID invalidation so that multiple sync requests in
a single VM-Exit are batched.  This is a very minor optimization as
checking for unsync'd children is quite cheap.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210609234235.1244004-13-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c