]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Drop redundant trace_kvm_mmu_set_spte() in the TDP MMU
authorSean Christopherson <seanjc@google.com>
Thu, 25 Feb 2021 20:47:33 +0000 (12:47 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Mar 2021 08:43:39 +0000 (04:43 -0400)
commita571781130453bab0f0ca2215001127495c8d23f
tree7f7802088f115c5a8fa71c0256a82bbde1b01020
parentef54c5b76cdebc455685c0c843ca0123e1753b77
KVM: x86/mmu: Drop redundant trace_kvm_mmu_set_spte() in the TDP MMU

Remove TDP MMU's call to trace_kvm_mmu_set_spte() that is done for both
shadow-present SPTEs and MMIO SPTEs.  It's fully redundant for the
former, and unnecessary for the latter.  This aligns TDP MMU tracing
behavior with that of the legacy MMU.

Fixes: f22478193abc ("kvm: x86/mmu: Add existing trace points to TDP MMU")
Cc: Ben Gardon <bgardon@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210225204749.1512652-9-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/tdp_mmu.c