Re: [PATCH 1/2] powerpc/mm: Fix crashes with PUD level hugetlb config

2018-02-10 Thread Aneesh Kumar K.V
On 02/10/2018 10:20 PM, Ram Pai wrote: On Sat, Feb 10, 2018 at 03:17:02PM +0530, Aneesh Kumar K.V wrote: Aneesh Kumar K.V writes: "Aneesh Kumar K.V" writes: To support memory keys, we moved the hash pte slot information to the second half of the page table. This was ok with PTE entries a

Re: [PATCH 1/2] powerpc/mm: Fix crashes with PUD level hugetlb config

2018-02-10 Thread Ram Pai
On Sat, Feb 10, 2018 at 03:17:02PM +0530, Aneesh Kumar K.V wrote: > Aneesh Kumar K.V writes: > > > "Aneesh Kumar K.V" writes: > > > >> To support memory keys, we moved the hash pte slot information to the > >> second > >> half of the page table. This was ok with PTE entries at level 4 and level

Re: [PATCH 1/2] powerpc/mm: Fix crashes with PUD level hugetlb config

2018-02-10 Thread Aneesh Kumar K.V
Aneesh Kumar K.V writes: > "Aneesh Kumar K.V" writes: > >> To support memory keys, we moved the hash pte slot information to the second >> half of the page table. This was ok with PTE entries at level 4 and level 3. >> We already allocate larger page table pages at those level to accomodate >>

Re: [PATCH 1/2] powerpc/mm: Fix crashes with PUD level hugetlb config

2018-02-09 Thread Aneesh Kumar K.V
On 02/09/2018 12:59 AM, Ram Pai wrote: On Thu, Feb 08, 2018 at 08:46:27PM +0530, Aneesh Kumar K.V wrote: "Aneesh Kumar K.V" writes: To support memory keys, we moved the hash pte slot information to the second half of the page table. This was ok with PTE entries at level 4 and level 3. We al

Re: [PATCH 1/2] powerpc/mm: Fix crashes with PUD level hugetlb config

2018-02-09 Thread Aneesh Kumar K.V
On 02/09/2018 12:52 AM, Ram Pai wrote: On Thu, Feb 08, 2018 at 04:04:41PM +0530, Aneesh Kumar K.V wrote: To support memory keys, we moved the hash pte slot information to the second half of the page table. This was ok with PTE entries at level 4 and level 3. We already allocate larger page tab

Re: [PATCH 1/2] powerpc/mm: Fix crashes with PUD level hugetlb config

2018-02-08 Thread Ram Pai
On Thu, Feb 08, 2018 at 08:46:27PM +0530, Aneesh Kumar K.V wrote: > "Aneesh Kumar K.V" writes: > > > To support memory keys, we moved the hash pte slot information to the second > > half of the page table. This was ok with PTE entries at level 4 and level 3. > > We already allocate larger page ta

Re: [PATCH 1/2] powerpc/mm: Fix crashes with PUD level hugetlb config

2018-02-08 Thread Ram Pai
On Thu, Feb 08, 2018 at 04:04:41PM +0530, Aneesh Kumar K.V wrote: > To support memory keys, we moved the hash pte slot information to the second > half of the page table. This was ok with PTE entries at level 4 and level 3. > We already allocate larger page table pages at those level to accomodate

Re: [PATCH 1/2] powerpc/mm: Fix crashes with PUD level hugetlb config

2018-02-08 Thread Aneesh Kumar K.V
"Aneesh Kumar K.V" writes: > To support memory keys, we moved the hash pte slot information to the second > half of the page table. This was ok with PTE entries at level 4 and level 3. > We already allocate larger page table pages at those level to accomodate extra > details. For level 4 we alrea