Re: [PATCH] KVM: stats: Add VM stat for remote tlb flush requests

2021-09-06 Thread Paolo Bonzini
On 18/08/21 18:52, Marc Zyngier wrote: Yes, this is what I meant, as I only quoted the bit that was redundant. These two counters would have the same value for arm64, but not for others (at least x86). Sure. It is just that this patch does two things at once, but doesn't advertise it. All in

Re: [PATCH] KVM: stats: Add VM stat for remote tlb flush requests

2021-08-18 Thread Jing Zhang
Hi Marc, On Wed, Aug 18, 2021 at 1:11 AM Marc Zyngier wrote: > > On Tue, 17 Aug 2021 01:26:39 +0100, > Jing Zhang wrote: > > > > Add a new stat that counts the number of times a remote TLB flush is > > requested, regardless of whether it kicks vCPUs out of guest mode. This > > allows us to look

Re: [PATCH] KVM: stats: Add VM stat for remote tlb flush requests

2021-08-18 Thread Marc Zyngier
On Wed, 18 Aug 2021 17:15:36 +0100, Jing Zhang wrote: > > Hi Marc, > > On Wed, Aug 18, 2021 at 1:11 AM Marc Zyngier wrote: > > > > On Tue, 17 Aug 2021 01:26:39 +0100, > > Jing Zhang wrote: > > > > > > Add a new stat that counts the number of times a remote TLB flush is > > > requested, regardl

Re: [PATCH] KVM: stats: Add VM stat for remote tlb flush requests

2021-08-18 Thread Marc Zyngier
On Tue, 17 Aug 2021 01:26:39 +0100, Jing Zhang wrote: > > Add a new stat that counts the number of times a remote TLB flush is > requested, regardless of whether it kicks vCPUs out of guest mode. This > allows us to look at how often flushes are initiated. nit: this is a very x86-centric view of

[PATCH] KVM: stats: Add VM stat for remote tlb flush requests

2021-08-16 Thread Jing Zhang
Add a new stat that counts the number of times a remote TLB flush is requested, regardless of whether it kicks vCPUs out of guest mode. This allows us to look at how often flushes are initiated. Original-by: David Matlack Signed-off-by: Jing Zhang --- arch/arm64/kvm/mmu.c | 1 + include/li