Re: [PATCH V5 31/31] powerpc/mm: Add a _PAGE_PTE bit

2015-11-24 Thread Denis Kirjanov
On 11/23/15, Aneesh Kumar K.V wrote: > For a pte entry we will have _PAGE_PTE set. Our pte page > address have a minimum alignment requirement of HUGEPD_SHIFT_MASK + 1. > We use the lower 7 bits to indicate hugepd. ie. > > For pmd and pgd we can find: > 1)

[PATCH V5 31/31] powerpc/mm: Add a _PAGE_PTE bit

2015-11-23 Thread Aneesh Kumar K.V
For a pte entry we will have _PAGE_PTE set. Our pte page address have a minimum alignment requirement of HUGEPD_SHIFT_MASK + 1. We use the lower 7 bits to indicate hugepd. ie. For pmd and pgd we can find: 1) _PAGE_PTE set pte -> indicate PTE 2) bits [2..6] non zero -> indicate hugepd. They