Optimize page table walk
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest10 patches 1 replyIn review
- v29 patches 11 repliesSuperseded
- v15 patches 15 repliesSuperseded
Changes in v3 from the cover letter
fix another boolflip pointed out by Xiao Guangrong some cosmetics
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | KVM: MMU: Push clean gpte write protection out of gpte_access()arch/ arch/ arch/ | +26 | 0 replies | |
| 2/10 | KVM: MMU: Optimize gpte_access() slightlyarch/ | +1 | 0 replies | |
| 3/10 | KVM: MMU: Move gpte_access() out of paging_tmpl.harch/ arch/ | +15 | 0 replies | |
| 4/10 | KVM: MMU: Update accessed and dirty bits after guest pagetable walkarch/ | +47 | 0 replies | |
| 5/10 | KVM: MMU: Optimize pte permission checksarch/ arch/ arch/ +2 more | +61 | 0 replies | |
| 6/10 | KVM: MMU: Simplify walk_addr_generic() looparch/ | +25 | 0 replies | |
| 7/10 | KVM: MMU: Optimize is_last_gpte()arch/ arch/ arch/ +1 more | +41 | 0 replies | |
| 8/10 | KVM: MMU: Eliminate eperm temporaryarch/ | +1 | 0 replies | |
| 9/10 | KVM: MMU: Avoid access/dirty update loop if all is wellarch/ | +20 | 0 replies | |
| 10/10 | KVM: MMU: Eliminate pointless temporary 'ac'arch/ | +1 | 1 reply |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Xiao Guangrong |
|---|---|
| 1/10 | R-b |
| 2/10 | R-b |
| 3/10 | R-b |
| 4/10 | R-b |
| 5/10 | R-b |
| 6/10 | R-b |
| 7/10 | R-b |
| 8/10 | R-b |
| 9/10 | R-b |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/10] Optimize page table walk
The page table walk has gotten crufty over the years and is threatening to become even more crufty when SMAP is introduced. Clean it up (and optimize it) somewhat.
v3:
fix another boolflip pointed out by Xiao Guangrong some cosmetics
v2:
fix SMEP false positive by moving checks to the end of the walk fix last_pte_bitmap documentation
fix incorrect SMEP fault permission checks
introduce helper for accessing the permission bitmap
Avi Kivity (10):
KVM: MMU: Push clean gpte write protection out of gpte_access()
KVM: MMU: Optimize gpte_access() slightly
KVM: MMU: Move gpte_access() out of paging_tmpl.h
KVM: MMU: Update accessed and dirty bits after guest pagetable walk
KVM: MMU: Optimize pte permission checks
KVM: MMU: Simplify walk_addr_generic() loop
KVM: MMU: Optimize is_last_gpte()
KVM: MMU: Eliminate eperm temporary
KVM: MMU: Avoid access/dirty update loop if all is well
KVM: MMU: Eliminate pointless temporary 'ac'
arch/x86/include/asm/kvm_host.h | 14 +++ arch/x86/kvm/mmu.c | 91 +++++++++++++++++++ arch/x86/kvm/mmu.h | 25 +++--- arch/x86/kvm/paging_tmpl.h | 191 +++++++++++++++++----------------------- arch/x86/kvm/x86.c | 11 +-- 5 files changed, 202 insertions(+), 130 deletions(-)
Signature · 1 line
1.7.12