Re: [PATCH 1/2] powerpc/mm/64s: Drop pgd_huge()

2022-10-04 Thread Michael Ellerman
On Sat, 3 Sep 2022 22:36:39 +1000, Michael Ellerman wrote: > On powerpc there are two ways for huge pages to be represented in the > top level page table, aka PGD (Page Global Directory). > > If the address space mapped by an individual PGD entry does not > correspond to a given huge page size, th

Re: [PATCH 1/2] powerpc/mm/64s: Drop pgd_huge()

2022-09-04 Thread Aneesh Kumar K.V
Michael Ellerman writes: > > On powerpc there are two ways for huge pages to be represented in the > top level page table, aka PGD (Page Global Directory). > > If the address space mapped by an individual PGD entry does not > correspond to a given huge page size, then the PGD entry points to a >

Re: [PATCH 1/2] powerpc/mm/64s: Drop pgd_huge()

2022-09-04 Thread Michael Ellerman
Christophe Leroy writes: > Le 03/09/2022 à 14:36, Michael Ellerman a écrit : > > ... > >> >> However in commit ba95b5d03596 ("powerpc/mm/book3s/64: Rework page table >> geometry for lower memory usage") the page table layout was reworked to >> shrink the size of the PGD. >> >> As a result the 16

Re: [PATCH 1/2] powerpc/mm/64s: Drop pgd_huge()

2022-09-03 Thread Christophe Leroy
Le 03/09/2022 à 14:36, Michael Ellerman a écrit : ... > > However in commit ba95b5d03596 ("powerpc/mm/book3s/64: Rework page table > geometry for lower memory usage") the page table layout was reworked to > shrink the size of the PGD. > > As a result the 16GB page size now fits at the PUD lev

[PATCH 1/2] powerpc/mm/64s: Drop pgd_huge()

2022-09-03 Thread Michael Ellerman
On powerpc there are two ways for huge pages to be represented in the top level page table, aka PGD (Page Global Directory). If the address space mapped by an individual PGD entry does not correspond to a given huge page size, then the PGD entry points to a non-standard page table, known as a "hug