[lkml]   [2021]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/4] KVM: X86: Improve guest TLB flushing
From: Lai Jiangshan <>

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
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(-)


 \ /
  Last update: 2021-10-19 13:03    [W:0.166 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site