Skip to content

KVM: X86/MMU: Simpliy mmu_unsync_walk()

Lai Jiangshan kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12KVM: X86/MMU: Warn if sp->unsync_children > 0 in link_shadow_page()arch/x86/kvm/mmu/mmu.c+7 -10 replies
2/12KVM: X86/MMU: Rename kvm_unlink_unsync_page() to kvm_mmu_page_clear_unsync()arch/x86/kvm/mmu/mmu.c+3 -31 reply
3/12KVM: X86/MMU: Split a part of kvm_unsync_page() as kvm_mmu_page_mark_unsync()arch/x86/kvm/mmu/mmu.c+5 -11 reply
4/12KVM: X86/MMU: Remove mmu_pages_clear_parents()arch/x86/kvm/mmu/mmu.c+0 -191 reply
5/12KVM: X86/MMU: Clear unsync bit directly in __mmu_unsync_walk()arch/x86/kvm/mmu/mmu.c+13 -93 replies
6/12KVM: X86/MMU: Rename mmu_unsync_walk() to mmu_unsync_walk_and_clear()arch/x86/kvm/mmu/mmu.c+6 -61 reply
7/12KVM: X86/MMU: Remove the useless struct mmu_page_patharch/x86/kvm/mmu/mmu.c+9 -283 replies
8/12KVM: X86/MMU: Remove the useless idx from struct kvm_mmu_pagesarch/x86/kvm/mmu/mmu.c+4 -111 reply
9/12KVM: X86/MMU: Unfold struct mmu_page_and_offset in struct kvm_mmu_pagesarch/x86/kvm/mmu/mmu.c+6 -80 replies
10/12KVM: X86/MMU: Don't add parents to struct kvm_mmu_pagesarch/x86/kvm/mmu/mmu.c+5 -311 reply
11/12KVM: X86/MMU: Remove mmu_pages_first() and mmu_pages_next()arch/x86/kvm/mmu/mmu.c+1 -131 reply
12/12KVM: X86/MMU: Rename struct kvm_mmu_pages to struct kvm_mmu_page_vecarch/x86/kvm/mmu/mmu.c+12 -121 reply

Reviews trailers per patch

1 of 12 patches has a Reviewed-by or Acked-by.

PatchSean Christopherson
1/12
2/12
3/12
4/12R-b
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/12] KVM: X86/MMU: Simpliy mmu_unsync_walk()

From: Lai Jiangshan <[email protected]>

mmu_pages_clear_parents() is not really required (see patch4).

mmu_unsync_walk() can be simplified when the function is removed.

Lai Jiangshan (12):
KVM: X86/MMU: Warn if sp->unsync_children > 0 in link_shadow_page()
KVM: X86/MMU: Rename kvm_unlink_unsync_page() to
kvm_mmu_page_clear_unsync()
KVM: X86/MMU: Split a part of kvm_unsync_page() as
kvm_mmu_page_mark_unsync()
KVM: X86/MMU: Remove mmu_pages_clear_parents()
KVM: X86/MMU: Clear unsync bit directly in __mmu_unsync_walk()
KVM: X86/MMU: Rename mmu_unsync_walk() to mmu_unsync_walk_and_clear()
KVM: X86/MMU: Remove the useless struct mmu_page_path
KVM: X86/MMU: Remove the useless idx from struct kvm_mmu_pages
KVM: X86/MMU: Unfold struct mmu_page_and_offset in struct
kvm_mmu_pages
KVM: X86/MMU: Don't add parents to struct kvm_mmu_pages
KVM: X86/MMU: Remove mmu_pages_first() and mmu_pages_next()
KVM: X86/MMU: Rename struct kvm_mmu_pages to struct kvm_mmu_page_vec

 arch/x86/kvm/mmu/mmu.c | 173 ++++++++++++-----------------------------
 1 file changed, 51 insertions(+), 122 deletions(-)
Signature · 1 line
2.19.1.6.gb485710b