for_each_shadow_entry
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | KVM: MMU: Add for_each_shadow_entry(), a simpler alternative to walk_shadow()arch/ | +49 | 0 replies | |
| 2/5 | KVM: MMU: Use for_each_shadow_entry() in __direct_map()arch/ | +29 | 0 replies | |
| 3/5 | KVM: MMU: Replace walk_shadow() by for_each_shadow_entry() in fetch()arch/ | +58 | 0 replies | |
| 4/5 | KVM: MMU: Replace walk_shadow() by for_each_shadow_entry() in invlpg()arch/ | +32 | 0 replies | |
| 5/5 | KVM: MMU: Drop walk_shadow()arch/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] for_each_shadow_entry
This patchset replaces walk_shadow(), which calls a callback for each shadow pte that maps a guest virtal address, by an equivalent for_each style construct. Benefits are less thunks and smaller code.
Please review.
Avi Kivity (5):
KVM: MMU: Add for_each_shadow_entry(), a simpler alternative to
walk_shadow()
KVM: MMU: Use for_each_shadow_entry() in __direct_map()
KVM: MMU: Replace walk_shadow() by for_each_shadow_entry() in fetch()
KVM: MMU: Replace walk_shadow() by for_each_shadow_entry() in
invlpg()
KVM: MMU: Drop walk_shadow()
arch/x86/kvm/mmu.c | 150 ++++++++++++++----------------- arch/x86/kvm/paging_tmpl.h | 209 +++++++++++++++++++------------------------- 2 files changed, 157 insertions(+), 202 deletions(-)