Skip to content

KVM: x86: optimize for writing guest page

Xiao Guangrong kvm lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest11 patches 14 repliesIn review
  2. v311 patches 19 repliesSuperseded
  3. v212 patches 11 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v111 patches22 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11KVM: MMU: avoid pte_list_desc running out in kvm_mmu_pte_writearch/x86/kvm/mmu.c+20 -50 replies
2/11KVM: x86: tag the instructions which are used to write page tablearch/x86/kvm/emulate.c+21 -160 replies
3/11KVM: x86: retry non-page-table writing instructionsarch/x86/include/asm/kvm_emulate.h arch/x86/include/asm/kvm_host.h arch/x86/kvm/emulate.c +2 more+77 -60 replies
4/11KVM: x86: cleanup port-in/port-out emulatedarch/x86/kvm/x86.c+26 -330 replies
5/11KVM: MMU: do not mark accessed bit on pte write patharch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c+1 -220 replies
6/11KVM: MMU: cleanup FNAME(invlpg)arch/x86/kvm/mmu.c arch/x86/kvm/paging_tmpl.h+27 -330 replies
7/11KVM: MMU: fast prefetch spte on invlpg patharch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c arch/x86/kvm/paging_tmpl.h +1 more+36 -400 replies
8/11KVM: MMU: remove unnecessary kvm_mmu_free_some_pagesarch/x86/kvm/mmu.c+0 -10 replies
9/11KVM: MMU: split kvm_mmu_pte_write functionarch/x86/kvm/mmu.c+119 -750 replies
10/11KVM: MMU: fix detecting misaligned accessedarch/x86/kvm/mmu.c+8 -00 replies
11/11KVM: MMU: improve write flooding detectedarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c arch/x86/kvm/paging_tmpl.h+32 -480 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 00/11] KVM: x86: optimize for writing guest page

This patchset is against https://github.com/avikivity/kvm.git next branch.

In this version, some changes come from Avi's comments:
- fix instruction retried for nested guest
- skip write-flooding for the sp whose level is 1
- rename some functions