Re: [PATCH] mm: fix the incorrect hugepages count

2016-08-09 Thread Naoya Horiguchi
On Tue, Aug 09, 2016 at 06:32:39PM +0800, zhong jiang wrote: > On 2016/8/9 1:14, Mike Kravetz wrote: > > On 08/07/2016 07:49 PM, zhongjiang wrote: > >> From: zhong jiang > >> > >> when memory hotplug enable, free hugepages will be freed if movable node > >> offline. > >>

Re: [PATCH] mm: fix the incorrect hugepages count

2016-08-09 Thread Naoya Horiguchi
On Tue, Aug 09, 2016 at 06:32:39PM +0800, zhong jiang wrote: > On 2016/8/9 1:14, Mike Kravetz wrote: > > On 08/07/2016 07:49 PM, zhongjiang wrote: > >> From: zhong jiang > >> > >> when memory hotplug enable, free hugepages will be freed if movable node > >> offline. > >> therefore,

Re: [PATCH] mm: fix the incorrect hugepages count

2016-08-09 Thread zhong jiang
On 2016/8/9 1:14, Mike Kravetz wrote: > On 08/07/2016 07:49 PM, zhongjiang wrote: >> From: zhong jiang >> >> when memory hotplug enable, free hugepages will be freed if movable node >> offline. >> therefore, /proc/sys/vm/nr_hugepages will be incorrect. >> >> The patch fix

Re: [PATCH] mm: fix the incorrect hugepages count

2016-08-09 Thread zhong jiang
On 2016/8/9 1:14, Mike Kravetz wrote: > On 08/07/2016 07:49 PM, zhongjiang wrote: >> From: zhong jiang >> >> when memory hotplug enable, free hugepages will be freed if movable node >> offline. >> therefore, /proc/sys/vm/nr_hugepages will be incorrect. >> >> The patch fix it by reduce the

Re: [PATCH] mm: fix the incorrect hugepages count

2016-08-08 Thread Mike Kravetz
On 08/07/2016 07:49 PM, zhongjiang wrote: > From: zhong jiang > > when memory hotplug enable, free hugepages will be freed if movable node > offline. > therefore, /proc/sys/vm/nr_hugepages will be incorrect. > > The patch fix it by reduce the max_huge_pages when the node

Re: [PATCH] mm: fix the incorrect hugepages count

2016-08-08 Thread Mike Kravetz
On 08/07/2016 07:49 PM, zhongjiang wrote: > From: zhong jiang > > when memory hotplug enable, free hugepages will be freed if movable node > offline. > therefore, /proc/sys/vm/nr_hugepages will be incorrect. > > The patch fix it by reduce the max_huge_pages when the node offline. > >

[PATCH] mm: fix the incorrect hugepages count

2016-08-07 Thread zhongjiang
From: zhong jiang when memory hotplug enable, free hugepages will be freed if movable node offline. therefore, /proc/sys/vm/nr_hugepages will be incorrect. The patch fix it by reduce the max_huge_pages when the node offline. Signed-off-by: zhong jiang

[PATCH] mm: fix the incorrect hugepages count

2016-08-07 Thread zhongjiang
From: zhong jiang when memory hotplug enable, free hugepages will be freed if movable node offline. therefore, /proc/sys/vm/nr_hugepages will be incorrect. The patch fix it by reduce the max_huge_pages when the node offline. Signed-off-by: zhong jiang --- mm/hugetlb.c | 1 + 1 file changed,