RE: [PATCH] kvm: ppc: stop leaking host memory on VM exit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: kvm-ppc-owner@xxxxxxxxxxxxxxx 
> [mailto:kvm-ppc-owner@xxxxxxxxxxxxxxx] On Behalf Of Hollis Blanchard
> Sent: Tuesday, November 25, 2008 1:38 AM
> To: Avi Kivity
> Cc: kvm-ppc; kvm
> Subject: [PATCH] kvm: ppc: stop leaking host memory on VM exit
> 
> When the VM exits, we must call put_page() for every page 
> referenced in the
> shadow TLB.
> 
> Without this patch, we usually leak 30-50 host pages (120 - 
> 200 KiB with 4 KiB
> pages). The maximum number of pages leaked is the size of our 
> shadow TLB, 64
> pages.
> 
> Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>

Need it also to _tlbia() at vcpu_uninit?
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux