The patch titled KVM: MMU: Free pages on kvm destruction has been removed from the -mm tree. Its filename was kvm-mmu-free-pages-on-kvm-destruction.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: KVM: MMU: Free pages on kvm destruction From: Avi Kivity <avi@xxxxxxxxxxxx> Because mmu pages have attached rmap and parent pte chain structures, we need to zap them before freeing so the attached structures are freed. Signed-off-by: Avi Kivity <avi@xxxxxxxxxxxx> Acked-by: Ingo Molnar <mingo@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/kvm/mmu.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff -puN drivers/kvm/mmu.c~kvm-mmu-free-pages-on-kvm-destruction drivers/kvm/mmu.c --- a/drivers/kvm/mmu.c~kvm-mmu-free-pages-on-kvm-destruction +++ a/drivers/kvm/mmu.c @@ -1065,9 +1065,14 @@ EXPORT_SYMBOL_GPL(kvm_mmu_free_some_page static void free_mmu_pages(struct kvm_vcpu *vcpu) { - while (!list_empty(&vcpu->free_pages)) { - struct kvm_mmu_page *page; + struct kvm_mmu_page *page; + while (!list_empty(&vcpu->kvm->active_mmu_pages)) { + page = container_of(vcpu->kvm->active_mmu_pages.next, + struct kvm_mmu_page, link); + kvm_mmu_zap_page(vcpu, page); + } + while (!list_empty(&vcpu->free_pages)) { page = list_entry(vcpu->free_pages.next, struct kvm_mmu_page, link); list_del(&page->link); _ Patches currently in -mm which might be from avi@xxxxxxxxxxxx are - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html