Skip to content

KVM: X86: Improve guest TLB flushing

Lai Jiangshan kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4KVM: X86: Fix tlb flush for tdp in kvm_invalidate_pcid()arch/x86/kvm/x86.c+10 -08 replies
2/4KVM: X86: Cache CR3 in prev_roots when PCID is disabledarch/x86/kvm/x86.c+30 -22 replies
3/4KVM: X86: Use smp_rmb() to pair with smp_wmb() in mmu_try_to_unsync_pages()arch/x86/kvm/mmu/mmu.c+33 -142 replies
4/4KVM: X86: Don't unload MMU in kvm_vcpu_flush_tlb_guest()arch/x86/kvm/mmu.h arch/x86/kvm/mmu/mmu.c arch/x86/kvm/x86.c+22 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] KVM: X86: Improve guest TLB flushing

From: Lai Jiangshan <[email protected]>

The patchset focuses on the guest TLB flushing related to prev_roots. It tries to keep CR3s in prev_roots and improves some comments.

Lai Jiangshan (4):
KVM: X86: Fix tlb flush for tdp in kvm_invalidate_pcid()
KVM: X86: Cache CR3 in prev_roots when PCID is disabled
KVM: X86: Use smp_rmb() to pair with smp_wmb() in
mmu_try_to_unsync_pages()
KVM: X86: Don't unload MMU in kvm_vcpu_flush_tlb_guest()

 arch/x86/kvm/mmu.h     |  1 +
 arch/x86/kvm/mmu/mmu.c | 63 ++++++++++++++++++++++++++++++++----------
 arch/x86/kvm/x86.c     | 53 +++++++++++++++++++++++++++++------
 3 files changed, 95 insertions(+), 22 deletions(-)
Signature · 1 line
2.19.1.6.gb485710b