Skip to content

KVM: MMU: fast page fault

Xiao Guangrong kvm lkml 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest10 patches 10 repliesIn review
  2. v69 patches 15 repliesSuperseded
  3. v59 patches 7 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v410 patches20 repliesSuperseded
v39 patches25 repliesSuperseded
v216 patches32 repliesSuperseded
v113 patches69 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10KVM: MMU: return bool in __rmap_write_protectarch/x86/kvm/mmu.c+7 -60 replies
2/10KVM: MMU: abstract spte write-protectarch/x86/kvm/mmu.c+31 -278 replies
3/10KVM: MMU: cleanup spte_write_protectarch/x86/kvm/mmu.c+29 -160 replies
4/10KVM: VMX: export PFEC.P bit on eptarch/x86/kvm/vmx.c+8 -10 replies
5/10KVM: MMU: fold tlb flush judgement into mmu_spte_updatearch/x86/kvm/mmu.c+20 -130 replies
6/10KVM: MMU: introduce SPTE_MMU_WRITEABLE bitarch/x86/kvm/mmu.c+38 -190 replies
7/10KVM: MMU: fast path of handling guest page faultarch/x86/kvm/mmu.c+127 -170 replies
8/10KVM: MMU: trace fast page faultarch/x86/kvm/mmu.c arch/x86/kvm/mmutrace.h+40 -00 replies
9/10KVM: MMU: fix kvm_mmu_pagetable_walk tracepointarch/x86/kvm/mmutrace.h arch/x86/kvm/paging_tmpl.h+4 -60 replies
10/10KVM: MMU: document mmu-lock and fast page faultDocumentation/virtual/kvm/locking.txt+129 -10 replies

Reviews trailers per patch

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

Read the v7 thread

Cover letter [PATCH v7 00/10] KVM: MMU: fast page fault

Changlog:
- always atomicly update the spte if it can be updated out of mmu-lock
- rename spte_can_be_writable() to spte_is_locklessly_modifiable()
- cleanup and comment spte_write_protect()

Performance result:
(The benchmark can be found at: http://www.spinics.net/lists/kvm/msg73011.html)

before after
Run 10 times, Avg time: 538233957 ns. 249809853 ns. +53.6%