Skip to content

RFC: switch vcpu context to use SRCU

Marcelo Tosatti kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10KVM: modify memslots layout in struct kvmarch/x86/kvm/mmu.c arch/x86/kvm/vmx.c arch/x86/kvm/x86.c +3 more+53 -320 replies
2/10KVM: modify alias layout in x86s struct kvm_archarch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+22 -70 replies
3/10KVM: switch dirty_log to mmu_lock protectionarch/x86/kvm/paging_tmpl.h arch/x86/kvm/x86.c virt/kvm/kvm_main.c+37 -93 replies
4/10KVM: split kvm_arch_set_memory_region into prepare and commitarch/ia64/kvm/kvm-ia64.c arch/s390/kvm/kvm-s390.c arch/x86/kvm/x86.c +2 more+61 -401 reply
5/10KVM: introduce gfn_to_pfn_memslotinclude/linux/kvm_host.h virt/kvm/kvm_main.c+27 -80 replies
6/10KVM: use gfn_to_pfn_memslot in kvm_iommu_map_pagesinclude/linux/kvm_host.h virt/kvm/iommu.c virt/kvm/kvm_main.c+8 -100 replies
7/10KVM: introduce kvm->srcu and convert kvm_set_memory_region to SRCU updatearch/ia64/kvm/kvm-ia64.c arch/x86/kvm/mmu.c arch/x86/kvm/vmx.c +5 more+112 -578 replies
8/10KVM: x86: switch kvm_set_memory_alias to SRCU updatearch/ia64/kvm/kvm-ia64.c arch/powerpc/kvm/powerpc.c arch/s390/kvm/kvm-s390.c +5 more+50 -221 reply
9/10KVM: convert io_bus to SRCUarch/ia64/kvm/kvm-ia64.c arch/x86/kvm/i8254.c arch/x86/kvm/i8259.c +6 more+101 -750 replies
10/10KVM: switch vcpu context to use SRCUarch/ia64/kvm/kvm-ia64.c arch/x86/kvm/mmu.c arch/x86/kvm/vmx.c +2 more+38 -351 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [patch 00/10] RFC: switch vcpu context to use SRCU

Improves vmexit latency by ~= 13% on UP guest.

Still requires decent stress testing and careful review, but posting for early comments.