Home
last modified time | relevance | path

Searched hist:"6692 cef30b7caf7525ae99670cddbaf28f1f9d40" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/s390/kvm/
H A Dkvm-s390.cdiff 6692cef30b7caf7525ae99670cddbaf28f1f9d40 Wed Nov 26 07:51:08 CST 2008 Christian Borntraeger <borntraeger@de.ibm.com> KVM: s390: Fix memory leak of vcpu->run

The s390 backend of kvm never calls kvm_vcpu_uninit. This causes
a memory leak of vcpu->run pages.
Lets call kvm_vcpu_uninit in kvm_arch_vcpu_destroy to free
the vcpu->run.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>