[PATCH] powerpc/mm/4k: don't allocate larger pmd page table for 4k

Anshuman Khandual khandual at linux.vnet.ibm.com
Mon Jan 16 17:46:26 AEDT 2017


On 01/04/2017 08:19 AM, 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

Can be a different sentence ^^^^^^^ as well. Small nit.

> 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 <aneesh.kumar at linux.vnet.ibm.com>

Reviewed-by: Anshuman Khandual <khandual at linux.vnet.ibm.com>



More information about the Linuxppc-dev mailing list