Re: [PATCH] KVM: x86: Fix memory leak in vmx.c

2013-04-08 Thread Gleb Natapov
On Mon, Apr 08, 2013 at 10:11:52AM -0700, Andrew Honig wrote: > On Mon, Apr 8, 2013 at 2:24 AM, Gleb Natapov wrote: > > On Thu, Apr 04, 2013 at 12:39:47PM -0700, Andrew Honig wrote: > >> If userspace creates and destroys multiple VMs within the same process > >> we leak 20k of memory in the usersp

Re: [PATCH] KVM: x86: Fix memory leak in vmx.c

2013-04-08 Thread Andrew Honig
On Mon, Apr 8, 2013 at 2:24 AM, Gleb Natapov wrote: > On Thu, Apr 04, 2013 at 12:39:47PM -0700, Andrew Honig wrote: >> If userspace creates and destroys multiple VMs within the same process >> we leak 20k of memory in the userspace process context per VM. This >> patch frees the memory in kvm_arc

Re: [PATCH] KVM: x86: Fix memory leak in vmx.c

2013-04-08 Thread Gleb Natapov
On Thu, Apr 04, 2013 at 12:39:47PM -0700, Andrew Honig wrote: > If userspace creates and destroys multiple VMs within the same process > we leak 20k of memory in the userspace process context per VM. This > patch frees the memory in kvm_arch_destroy_vm. If the process exits > without closing the