The patch titled
     KVM: MMU: Destroy mmu while we still have a vcpu left
has been removed from the -mm tree.  Its filename was
     kvm-mmu-destroy-mmu-while-we-still-have-a-vcpu-left.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: KVM: MMU: Destroy mmu while we still have a vcpu left
From: Avi Kivity <[EMAIL PROTECTED]>

mmu_destroy flushes the guest tlb (indirectly), which needs a valid vcpu.

Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
Acked-by: Ingo Molnar <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/kvm/kvm_main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN 
drivers/kvm/kvm_main.c~kvm-mmu-destroy-mmu-while-we-still-have-a-vcpu-left 
drivers/kvm/kvm_main.c
--- a/drivers/kvm/kvm_main.c~kvm-mmu-destroy-mmu-while-we-still-have-a-vcpu-left
+++ a/drivers/kvm/kvm_main.c
@@ -271,8 +271,8 @@ static void kvm_free_physmem(struct kvm 
 
 static void kvm_free_vcpu(struct kvm_vcpu *vcpu)
 {
-       kvm_arch_ops->vcpu_free(vcpu);
        kvm_mmu_destroy(vcpu);
+       kvm_arch_ops->vcpu_free(vcpu);
 }
 
 static void kvm_free_vcpus(struct kvm *kvm)
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are


-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to