All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel.org>
To: Gavin Shan <gshan@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	Will Deacon <will@kernel.org>,
	"open list:KERNEL VIRTUAL MACHINE FOR ARM64 \(KVM/arm64\)"
	<kvmarm@lists.cs.columbia.edu>
Subject: Re: [Question] remote_tlb_flush statistic is missed from kvm_flush_remote_tlbs() ?
Date: Fri, 17 Jun 2022 11:19:28 +0100	[thread overview]
Message-ID: <87wndf383z.wl-maz@kernel.org> (raw)
In-Reply-To: <25c7cc69-64ef-d42b-dc0b-968d7415b111@redhat.com>

On Fri, 17 Jun 2022 11:02:44 +0100,
Gavin Shan <gshan@redhat.com> wrote:
> 
> Hi Folks,
> 
> We're reviewing upstream commits and found that it seems that
> ++kvm->stat.generic.remote_tlb_flush has been missed from
> kvm_flush_remote_tlbs(). If I'm correct, we still need to
> increase the statistic in kvm_flush_remote_tlbs()?
> 
> History about the changes:
> 
> ce6a7007048b staging: r8188eu: remove {read,write}_macreg
>     The changes were NOT there any more.
> 419025b3b419 Merge branch kvm-arm64/misc-5.15 into kvmarm-master/next
>     The changes were still there
> 38f703663d4c KVM: arm64: Count VMID-wide TLB invalidations
>     The changes were initially introduced by this commit,
>     to increase 'kvm->stat.generic.remote_tlb_flush' in
>     kvm_flush_remote_tlbs().

I'm not sure what you are asking. This change is definitely still
present in the upstream kernel, and I don't get your point with the
staging commit, which is totally unrelated.

$ git describe --contains ce6a7007048b --match=v\*
v5.15-rc1~154^2~11
$ git describe --contains 419025b3b419 --match=v\*
v5.15-rc1~65^2~4^2
$ git describe --contains 38f703663d4c --match=v\*
v5.15-rc1~65^2~4^2^2~13

As you can see, the commit fixing the statistics was merged after
staging one (it appears closer to -rc1, as there is 6 days between the
two merge commits from Linus).

Puzzled,

	M.

-- 
Without deviation from the norm, progress is not possible.
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

  reply	other threads:[~2022-06-17 10:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-17 10:02 [Question] remote_tlb_flush statistic is missed from kvm_flush_remote_tlbs() ? Gavin Shan
2022-06-17 10:19 ` Marc Zyngier [this message]
2022-06-17 10:33   ` Andrew Jones
2022-06-17 10:52     ` Paolo Bonzini
2022-06-17 12:04     ` Marc Zyngier

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=87wndf383z.wl-maz@kernel.org \
    --to=maz@kernel.org \
    --cc=gshan@redhat.com \
    --cc=kvmarm@lists.cs.columbia.edu \
    --cc=pbonzini@redhat.com \
    --cc=will@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.