kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: Yang Weijiang <weijiang.yang@intel.com>
Cc: pbonzini@redhat.com, kvm@vger.kernel.org
Subject: Re: [PATCH] KVM: x86/mmu: Remove duplicate MMU trace log
Date: Thu, 15 Apr 2021 15:22:23 +0000	[thread overview]
Message-ID: <YHhaL2+cq9cfCoL1@google.com> (raw)
In-Reply-To: <20210415040141.5218-1-weijiang.yang@intel.com>

On Thu, Apr 15, 2021, Yang Weijiang wrote:
> Signed-off-by: Yang Weijiang <weijiang.yang@intel.com>
> ---
>  arch/x86/kvm/mmu/tdp_mmu.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/x86/kvm/mmu/tdp_mmu.c b/arch/x86/kvm/mmu/tdp_mmu.c
> index 018d82e73e31..0bd4c9972fc8 100644
> --- a/arch/x86/kvm/mmu/tdp_mmu.c
> +++ b/arch/x86/kvm/mmu/tdp_mmu.c
> @@ -781,8 +781,6 @@ static int tdp_mmu_map_handle_target_level(struct kvm_vcpu *vcpu, int write,
>  		trace_kvm_mmu_set_spte(iter->level, iter->gfn,
>  				       rcu_dereference(iter->sptep));
>  
> -	trace_kvm_mmu_set_spte(iter->level, iter->gfn,
> -			       rcu_dereference(iter->sptep));
>  	if (!prefault)
>  		vcpu->stat.pf_fixed++;

Already queued in kvm/next, commit 3849e0924ef1 ("KVM: x86/mmu: Drop redundant
trace_kvm_mmu_set_spte() in the TDP MMU").

Thanks!

      reply	other threads:[~2021-04-15 15:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-15  4:01 [PATCH] KVM: x86/mmu: Remove duplicate MMU trace log Yang Weijiang
2021-04-15 15:22 ` Sean Christopherson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YHhaL2+cq9cfCoL1@google.com \
    --to=seanjc@google.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=weijiang.yang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).