Re: [External] Re: [PATCH v5 18/21] mm/hugetlb: Merge pte to huge pmd only for gigantic page

2020-11-20 Thread Muchun Song
On Fri, Nov 20, 2020 at 4:24 PM Michal Hocko wrote: > > On Fri 20-11-20 14:43:22, 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. > >

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

2020-11-20 Thread Michal Hocko
On Fri 20-11-20 14:43:22, 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. I think it would be benefitial for anybody who plan to implement

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

2020-11-19 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 --- arch/x86/include/asm/hugetlb.h | 8 +++ mm/hugetlb_vmemmap.c | 118