Re: [PATCH 3/6] hugetlb: add free page reporting support

2021-01-10 Thread Liang Li
On Fri, Jan 8, 2021 at 6:04 AM Mike Kravetz wrote: > > On 1/5/21 7:49 PM, Liang Li wrote: > > hugetlb manages its page in hstate's free page list, not in buddy > > system, this patch try to make it works for hugetlbfs. It canbe > > used for memory overcommit in virtualization and hugetlb pre zero

Re: [PATCH 3/6] hugetlb: add free page reporting support

2021-01-10 Thread Liang Li
> >> On Tue 05-01-21 22:49:21, Liang Li wrote: > >>> hugetlb manages its page in hstate's free page list, not in buddy > >>> system, this patch try to make it works for hugetlbfs. It canbe > >>> used for memory overcommit in virtualization and hugetlb pre zero > >>> out. > >> > >> David has layed d

Re: [PATCH 3/6] hugetlb: add free page reporting support

2021-01-07 Thread Mike Kravetz
On 1/5/21 7:49 PM, Liang Li wrote: > hugetlb manages its page in hstate's free page list, not in buddy > system, this patch try to make it works for hugetlbfs. It canbe > used for memory overcommit in virtualization and hugetlb pre zero > out. I am not looking closely at the hugetlb changes yet.

Re: [PATCH 3/6] hugetlb: add free page reporting support

2021-01-07 Thread David Hildenbrand
On 07.01.21 04:38, Liang Li wrote: > On Thu, Jan 7, 2021 at 12:08 AM Michal Hocko wrote: >> >> On Tue 05-01-21 22:49:21, Liang Li wrote: >>> hugetlb manages its page in hstate's free page list, not in buddy >>> system, this patch try to make it works for hugetlbfs. It canbe >>> used for memory ove

Re: [PATCH 3/6] hugetlb: add free page reporting support

2021-01-06 Thread Liang Li
On Thu, Jan 7, 2021 at 12:08 AM Michal Hocko wrote: > > On Tue 05-01-21 22:49:21, Liang Li wrote: > > hugetlb manages its page in hstate's free page list, not in buddy > > system, this patch try to make it works for hugetlbfs. It canbe > > used for memory overcommit in virtualization and hugetlb p

Re: [PATCH 3/6] hugetlb: add free page reporting support

2021-01-06 Thread Michal Hocko
On Tue 05-01-21 22:49:21, Liang Li wrote: > hugetlb manages its page in hstate's free page list, not in buddy > system, this patch try to make it works for hugetlbfs. It canbe > used for memory overcommit in virtualization and hugetlb pre zero > out. David has layed down some more fundamental ques

[PATCH 3/6] hugetlb: add free page reporting support

2021-01-05 Thread Liang Li
hugetlb manages its page in hstate's free page list, not in buddy system, this patch try to make it works for hugetlbfs. It canbe used for memory overcommit in virtualization and hugetlb pre zero out. Cc: Alexander Duyck Cc: Mel Gorman Cc: Andrea Arcangeli Cc: Dan Williams Cc: Dave Hansen Cc: