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:

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 >

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 k

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 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