OSDN Git Service

KVM: x86/mmu: Stop needlessly making MMU pages available for TDP MMU faults
authorDavid Matlack <dmatlack@google.com>
Wed, 21 Sep 2022 17:35:45 +0000 (10:35 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Dec 2022 11:03:00 +0000 (06:03 -0500)
commit1290f90e77186bf8a06a3a35ebf254f5b004676b
treef75c89bb11c2d2630b08fec904b558c6a15bf7dc
parenta158127f55b98c02c2f1ef96981db088cad5c2e7
KVM: x86/mmu: Stop needlessly making MMU pages available for TDP MMU faults

Stop calling make_mmu_pages_available() when handling TDP MMU faults.
The TDP MMU does not participate in the "available MMU pages" tracking
and limiting so calling this function is unnecessary work when handling
TDP MMU faults.

Signed-off-by: David Matlack <dmatlack@google.com>
Reviewed-by: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220921173546.2674386-10-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c