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>
Thu, 29 Dec 2022 20:33:23 +0000 (15:33 -0500)
commit9f33697ac7ff6945cc06cffb37423176680e2ddf
treef2209d94b89c8438e79e298efbae41ead3830a02
parent9aa8ab43b38146029de807a8ff2696f51e15b226
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