convert slotslock to SRCU
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | KVM: modify memslots layout in struct kvmarch/ arch/ arch/ +3 more | +53 | 0 replies | |
| 1/11 | KVM: modify memslots layout in struct kvmarch/ arch/ arch/ +3 more | +53 | 0 replies | |
| 2/11 | KVM: modify alias layout in x86s struct kvm_archarch/ arch/ | +22 | 0 replies | |
| 2/11 | KVM: modify alias layout in x86s struct kvm_archarch/ arch/ | +22 | 0 replies | |
| 3/11 | KVM: split kvm_arch_set_memory_region into prepare and commitarch/ arch/ arch/ +2 more | +61 | 0 replies | |
| 3/11 | KVM: split kvm_arch_set_memory_region into prepare and commitarch/ arch/ arch/ +2 more | +61 | 0 replies | |
| 4/11 | KVM: introduce gfn_to_pfn_memslotinclude/ virt/ | +27 | 1 reply | |
| 4/11 | KVM: introduce gfn_to_pfn_memslotinclude/ virt/ | +27 | 0 replies | |
| 5/11 | KVM: use gfn_to_pfn_memslot in kvm_iommu_map_pagesinclude/ virt/ virt/ | +8 | 0 replies | |
| 5/11 | KVM: use gfn_to_pfn_memslot in kvm_iommu_map_pagesinclude/ virt/ virt/ | +8 | 0 replies | |
| 6/11 | KVM: introduce kvm->srcu and convert kvm_set_memory_region to SRCU updatearch/ arch/ arch/ +5 more | +132 | 4 replies | |
| 6/11 | KVM: introduce kvm->srcu and convert kvm_set_memory_region to SRCU updatearch/ arch/ arch/ +5 more | +135 | 0 replies | |
| 7/11 | KVM: use SRCU for dirty logarch/ | +41 | 0 replies | |
| 7/11 | KVM: use SRCU for dirty logarch/ | +41 | 0 replies | |
| 8/11 | KVM: x86: switch kvm_set_memory_alias to SRCU updatearch/ arch/ include/ +1 more | +63 | 0 replies | |
| 8/11 | KVM: x86: switch kvm_set_memory_alias to SRCU updatearch/ arch/ include/ +1 more | +63 | 0 replies | |
| 9/11 | KVM: convert io_bus to SRCUarch/ arch/ arch/ +6 more | +101 | 0 replies | |
| 9/11 | KVM: convert io_bus to SRCUarch/ arch/ arch/ +6 more | +101 | 0 replies | |
| 10/11 | KVM: switch vcpu context to use SRCUarch/ arch/ arch/ +3 more | +45 | 0 replies | |
| 10/11 | KVM: switch vcpu context to use SRCUarch/ arch/ arch/ +3 more | +45 | 0 replies | |
| 11/11 | KVM: convert slots_lock to a mutexarch/ arch/ arch/ +7 more | +37 | 0 replies | |
| 11/11 | KVM: convert slots_lock to a mutexarch/ arch/ arch/ +7 more | +37 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 00/11] convert slotslock to SRCU
Now that synchronize_srcu_expedited is in the tree, we can continue the convertion of slots_lock to SRCU.
Results:
up:
srcu-memslot:
cpuid 2157
vmcall 1992mov_from_cr8 11mov_to_cr8 17inl_from_pmtimer 11226
ipi (skipped)
ipi+halt (skipped)
stock:
cpuid 2272
vmcall 2114mov_from_cr8 11mov_to_cr8 17inl_from_pmtimer 11521
ipi (skipped)
ipi+halt (skipped)
vmcall 6.1% improvement
smp 2:
srcu-memslot:
cpuid 2333
vmcall 2165mov_from_cr8 11mov_to_cr8 18inl_from_pmtimer 12233
ipi 40734
ipi+halt 41675
stock:
cpuid 2512
vmcall 2367mov_from_cr8 11mov_to_cr8 18inl_from_pmtimer 12821
ipi 42941
ipi+halt 43146
vmcall 9.3% improvement