# Re: powerpc/mm/4k: don't allocate larger pmd page table for 4k

- From: Michael Ellerman \<hidden\>
- Date: 2017-01-27 00:40:35 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2017/01/9494838
- Thread: https://ratatoskr.run/linuxppc-dev/2017/01/9494484/t.md

```text
On Wed, 2017-01-04 at 02:49:12 UTC, "Aneesh Kumar K.V" wrote:
> We now support THP with both 64k and 4K page size configuration
> for radix. (hash only support THP with 64K page size). Hence we
> will have CONFIG_TRANSPARENT_HUGEPAGE enabled for both PPC_64K
> and PPC_4K config. Since we only need large pmd page table
> with hash configuration (to store the slot information
> in the second half of the table) restrict the large pmd page table
> to THP and 64K configs.
> 
> Signed-off-by: Aneesh Kumar K.V <redacted>
> Reviewed-by: Anshuman Khandual <redacted>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/8ad43336b5c1ad9ac945148cb5e26a

cheers
```
