Re: [Qemu-devel] [Bug?]When close VM the hugepage not freed

2014-10-15 Thread Daniel P. Berrange
On Tue, Oct 14, 2014 at 07:28:39PM +0300, Michael S. Tsirkin wrote: On Tue, Oct 14, 2014 at 01:08:15PM +0100, Daniel P. Berrange wrote: On Tue, Oct 14, 2014 at 08:02:38PM +0800, Linhaifeng wrote: Hi,all I was trying to use hugepage with VM and found that the hugepage not freed

Re: [Qemu-devel] [Bug?]When close VM the hugepage not freed

2014-10-15 Thread Linhaifeng
On 2014/10/14 20:02, Linhaifeng wrote: Hi,all I was trying to use hugepage with VM and found that the hugepage not freed when close VM. 1.Before start VM the /proc/meminfo is: AnonHugePages:124928 kB HugePages_Total:4096 HugePages_Free: 3072 HugePages_Rsvd:0

[Qemu-devel] [Bug?]When close VM the hugepage not freed

2014-10-14 Thread Linhaifeng
Hi,all I was trying to use hugepage with VM and found that the hugepage not freed when close VM. 1.Before start VM the /proc/meminfo is: AnonHugePages:124928 kB HugePages_Total:4096 HugePages_Free: 3072 HugePages_Rsvd:0 HugePages_Surp:0 Hugepagesize: 2048 kB

Re: [Qemu-devel] [Bug?]When close VM the hugepage not freed

2014-10-14 Thread Daniel P. Berrange
On Tue, Oct 14, 2014 at 08:02:38PM +0800, Linhaifeng wrote: Hi,all I was trying to use hugepage with VM and found that the hugepage not freed when close VM. 1.Before start VM the /proc/meminfo is: AnonHugePages:124928 kB HugePages_Total:4096 HugePages_Free: 3072

Re: [Qemu-devel] [Bug?]When close VM the hugepage not freed

2014-10-14 Thread Michael S. Tsirkin
On Tue, Oct 14, 2014 at 01:08:15PM +0100, Daniel P. Berrange wrote: On Tue, Oct 14, 2014 at 08:02:38PM +0800, Linhaifeng wrote: Hi,all I was trying to use hugepage with VM and found that the hugepage not freed when close VM. 1.Before start VM the /proc/meminfo is:

Re: [Qemu-devel] [Bug?]When close VM the hugepage not freed

2014-10-14 Thread Linhaifeng
On 2014/10/14 20:08, Daniel P. Berrange wrote: On Tue, Oct 14, 2014 at 08:02:38PM +0800, Linhaifeng wrote: Hi,all I was trying to use hugepage with VM and found that the hugepage not freed when close VM. 1.Before start VM the /proc/meminfo is: AnonHugePages:124928 kB