Re: [RFC PATCH 21/24] mm/hugetlb: Merge pte to huge pmd only for gigantic page

2020-09-20 Thread Muchun Song
On Tue, Sep 15, 2020 at 9:03 PM Muchun Song wrote: > > Merge pte to huge pmd if it has ever been split. Now only support > gigantic page which's vmemmap pages size is an integer multiple of > PMD_SIZE. This is the simplest case to handle. > > Signed-off-by: Muchun Song > --- > include/linux/huge

[RFC PATCH 21/24] mm/hugetlb: Merge pte to huge pmd only for gigantic page

2020-09-15 Thread Muchun Song
Merge pte to huge pmd if it has ever been split. Now only support gigantic page which's vmemmap pages size is an integer multiple of PMD_SIZE. This is the simplest case to handle. Signed-off-by: Muchun Song --- include/linux/hugetlb.h | 7 +++ mm/hugetlb.c| 104