Skip to content

KVM: count actual tlb flushes

Liang Chen kvm lkml 2 versions – NAK

Status from this message: NACK!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 8 repliesNAK
  2. v21 patch 6 repliesSuperseded

Changes in v3 from the cover letter

* split the patch into a series of two patches.
* rename the util function kvm_mmu_flush_tlb in x86.c to kvm_vcpu_flush_tlb

Patches in v3

#Subject and filesSizeRepliesApplied
1/2KVM: x86: count actual tlb flushesarch/x86/kvm/mmu.c arch/x86/kvm/x86.c+3 -20 replies
2/2KVM: x86: directly use kvm_make_request againarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c arch/x86/kvm/vmx.c +1 more+14 -168 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRadim Krčmář
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] KVM: count actual tlb flushes

* Instead of counting the number of coalesced flush requests, we count the actual tlb flushes.
* Flushes from kvm_flush_remote_tlbs will also be counted.
* Freeing the namespace a bit by replaces kvm_mmu_flush_tlb() with kvm_make_request() again.

---
v2 -> v3:

* split the patch into a series of two patches.
* rename the util function kvm_mmu_flush_tlb in x86.c to kvm_vcpu_flush_tlb

v1 -> v2:

* Instead of calling kvm_mmu_flush_tlb everywhere to make sure the stat is always incremented, postponing the counting to kvm_check_request.

Liang Chen (1):
KVM: x86: directly use kvm_make_request again

Radim Krčmář (1):
KVM: x86: count actual tlb flushes

 arch/x86/include/asm/kvm_host.h |  1 -
 arch/x86/kvm/mmu.c              | 17 +++++------------
 arch/x86/kvm/vmx.c              |  2 +-
 arch/x86/kvm/x86.c              | 13 ++++++++++---
 4 files changed, 16 insertions(+), 17 deletions(-)
Signature · 1 line
1.9.1