Re: [RFC 1/9] mm/hugetlb: Make GENERAL_HUGETLB functions PGD implementation aware

2016-03-14 Thread Andrew Morton
On Fri, 11 Mar 2016 08:31:55 +0530 Anshuman Khandual wrote: > On 03/09/2016 05:40 PM, Anshuman Khandual wrote: > > Currently both the ARCH_WANT_GENERAL_HUGETLB functions 'huge_pte_alloc' > > and 'huge_pte_offset' dont take into account huge page implementation > > at the PGD level. With addition

Re: [RFC 1/9] mm/hugetlb: Make GENERAL_HUGETLB functions PGD implementation aware

2016-03-10 Thread Anshuman Khandual
On 03/09/2016 05:40 PM, Anshuman Khandual wrote: > Currently both the ARCH_WANT_GENERAL_HUGETLB functions 'huge_pte_alloc' > and 'huge_pte_offset' dont take into account huge page implementation > at the PGD level. With addition of PGD awareness into these functions, > more architectures like POWER

[RFC 1/9] mm/hugetlb: Make GENERAL_HUGETLB functions PGD implementation aware

2016-03-09 Thread Anshuman Khandual
Currently both the ARCH_WANT_GENERAL_HUGETLB functions 'huge_pte_alloc' and 'huge_pte_offset' dont take into account huge page implementation at the PGD level. With addition of PGD awareness into these functions, more architectures like POWER which also implements huge pages at PGD level (along wit