Re: [PATCH 4/6] hugetlb: avoid allocation failed when page reporting is on going

2021-01-10 Thread Liang Li
> > > Please don't use this email address for me anymore. Either use > > > alexander.du...@gmail.com or alexanderdu...@fb.com. I am getting > > > bounces when I reply to this thread because of the old address. > > > > No problem. > > > > > > diff --git a/mm/hugetlb.c b/mm/hugetlb.c > > > > index eb

Re: [PATCH 4/6] hugetlb: avoid allocation failed when page reporting is on going

2021-01-07 Thread Alexander Duyck
On Wed, Jan 6, 2021 at 7:57 PM Liang Li wrote: > > > > Page reporting isolates free pages temporarily when reporting > > > free pages information. It will reduce the actual free pages > > > and may cause application failed for no enough available memory. > > > This patch try to solve this issue, w

Re: [PATCH 4/6] hugetlb: avoid allocation failed when page reporting is on going

2021-01-06 Thread Liang Li
> > Page reporting isolates free pages temporarily when reporting > > free pages information. It will reduce the actual free pages > > and may cause application failed for no enough available memory. > > This patch try to solve this issue, when there is no free page > > and page repoting is on goin

Re: [PATCH 4/6] hugetlb: avoid allocation failed when page reporting is on going

2021-01-06 Thread Alexander Duyck
On Tue, Jan 5, 2021 at 7:50 PM Liang Li wrote: > > Page reporting isolates free pages temporarily when reporting > free pages information. It will reduce the actual free pages > and may cause application failed for no enough available memory. > This patch try to solve this issue, when there is no

[PATCH 4/6] hugetlb: avoid allocation failed when page reporting is on going

2021-01-05 Thread Liang Li
Page reporting isolates free pages temporarily when reporting free pages information. It will reduce the actual free pages and may cause application failed for no enough available memory. This patch try to solve this issue, when there is no free page and page repoting is on going, wait until it is