Re: [External] [PATCH 4/8] hugetlb: create remove_hugetlb_page() to separate functionality

2021-03-26 Thread Muchun Song
On Thu, Mar 25, 2021 at 8:29 AM Mike Kravetz wrote: > > The new remove_hugetlb_page() routine is designed to remove a hugetlb > page from hugetlbfs processing. It will remove the page from the active > or free list, update global counters and set the compound page > destructor to NULL so that Pag

Re: [PATCH 4/8] hugetlb: create remove_hugetlb_page() to separate functionality

2021-03-26 Thread Miaohe Lin
On 2021/3/27 3:57, Mike Kravetz wrote: > On 3/25/21 7:10 PM, Miaohe Lin wrote: >> On 2021/3/25 8:28, Mike Kravetz wrote: >>> The new remove_hugetlb_page() routine is designed to remove a hugetlb >>> page from hugetlbfs processing. It will remove the page from the active >>> or free list, update gl

Re: [PATCH 4/8] hugetlb: create remove_hugetlb_page() to separate functionality

2021-03-26 Thread Mike Kravetz
On 3/25/21 7:10 PM, Miaohe Lin wrote: > On 2021/3/25 8:28, Mike Kravetz wrote: >> The new remove_hugetlb_page() routine is designed to remove a hugetlb >> page from hugetlbfs processing. It will remove the page from the active >> or free list, update global counters and set the compound page >> de

Re: [PATCH 4/8] hugetlb: create remove_hugetlb_page() to separate functionality

2021-03-25 Thread Miaohe Lin
On 2021/3/25 8:28, Mike Kravetz wrote: > The new remove_hugetlb_page() routine is designed to remove a hugetlb > page from hugetlbfs processing. It will remove the page from the active > or free list, update global counters and set the compound page > destructor to NULL so that PageHuge() will ret

Re: [PATCH 4/8] hugetlb: create remove_hugetlb_page() to separate functionality

2021-03-25 Thread Michal Hocko
On Wed 24-03-21 17:28:31, Mike Kravetz wrote: > The new remove_hugetlb_page() routine is designed to remove a hugetlb > page from hugetlbfs processing. It will remove the page from the active > or free list, update global counters and set the compound page > destructor to NULL so that PageHuge() w

[PATCH 4/8] hugetlb: create remove_hugetlb_page() to separate functionality

2021-03-24 Thread Mike Kravetz
The new remove_hugetlb_page() routine is designed to remove a hugetlb page from hugetlbfs processing. It will remove the page from the active or free list, update global counters and set the compound page destructor to NULL so that PageHuge() will return false for the 'page'. After this call, the