Searched hist:"5186 ec223b68cc5100035d605a730819f774932f" (Results 1 – 1 of 1) sorted by relevance
/linux/arch/x86/kvm/mmu/ |
H A D | mmu_internal.h | diff 5186ec223b68cc5100035d605a730819f774932f Wed Jun 12 21:51:38 CEST 2024 Sean Christopherson <seanjc@google.com> KVM: x86/mmu: Bump pf_taken stat only in the "real" page fault handler
Account stat.pf_taken in kvm_mmu_page_fault(), i.e. the actual page fault handler, instead of conditionally bumping it in kvm_mmu_do_page_fault(). The "real" page fault handler is the only path that should ever increment the number of taken page faults, as all other paths that "do page fault" are by definition not handling faults that occurred in the guest.
Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|