Skip to content

KVM paravirt MMU updates

Marcelo Tosatti kvm 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4KVM: basic paravirt supportarch/x86/Kconfig arch/x86/kernel/Makefile arch/x86/kernel/kvm.c +6 more+87 -00 replies
2/4KVM: hypercall based pte updates and TLB flushesarch/x86/kernel/kvm.c arch/x86/kvm/mmu.c arch/x86/kvm/mmu.h +3 more+189 -40 replies
3/4paravirt: set_access_flags/set_wrprotect should use paravirt interfaceinclude/asm-x86/paravirt.h include/asm-x86/pgtable.h+11 -20 replies
4/4KVM: hypercall batchingarch/x86/kernel/kvm.c arch/x86/kvm/x86.c include/asm-x86/kvm_host.h +2 more+164 -210 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 paravirt MMU updates

The following patchset, based on an earlier version by Anthony Liguori, adds paravirt_ops support for KVM guests enabling hypercall based pte updates and hypercall batching.

make -j4 compilation of a recent 2.6 kernel tree (two runs):
stock:
826.34user 573.75system 9:07.13elapsed 255%CPU (0avgtext+0avgdata 0maxresident)k0inputs+0outputs (30major+26687895minor)pagefaults 0swaps

user 608.32system 9:01.11elapsed 275%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+26518405minor)pagefaults 0swaps

hypercall pte:
816.85user 463.26system 8:15.57elapsed 258%CPU (0avgtext+0avgdata 0maxresident)k0inputs+0outputs (0major+26518853minor)pagefaults 0swaps

820.17user 459.96system 8:14.30elapsed 258%CPU (0avgtext+0avgdata 0maxresident)k0inputs+0outputs (0major+26522238minor)pagefaults 0swaps

About 8.5% faster.

Signature · 4 lines
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/