Home
last modified time | relevance | path

Searched hist:ab62476240d59a9d7d78ca5ff32499dd50db2069 (Results 1 – 4 of 4) sorted by relevance

/linux/arch/powerpc/include/asm/book3s/64/
H A Dpgtable-64k.hdiff ab62476240d59a9d7d78ca5ff32499dd50db2069 Fri Apr 29 15:26:31 CEST 2016 Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> powerpc/mm/radix: Add THP support for 4K linux page size

This adds THP support for 4K Linux page size config with radix. We still
don't do THP with 4K Linux page size and hash page table. Hash page
table needs a 16MB hugepage and we can't do THP with 16MM hugepage and
4K Linux page size.

We add missing functions to 4K hash config to get it to build and
hash__has_transparent_hugepage() makes sure we don't enable THP for 4K
hash config. To catch wrong usage of THP related with 4K config, we add
BUG() in those dummy functions we added to get it compile.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
H A Dhash-4k.hdiff ab62476240d59a9d7d78ca5ff32499dd50db2069 Fri Apr 29 15:26:31 CEST 2016 Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> powerpc/mm/radix: Add THP support for 4K linux page size

This adds THP support for 4K Linux page size config with radix. We still
don't do THP with 4K Linux page size and hash page table. Hash page
table needs a 16MB hugepage and we can't do THP with 16MM hugepage and
4K Linux page size.

We add missing functions to 4K hash config to get it to build and
hash__has_transparent_hugepage() makes sure we don't enable THP for 4K
hash config. To catch wrong usage of THP related with 4K config, we add
BUG() in those dummy functions we added to get it compile.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
H A Dpgtable.hdiff ab62476240d59a9d7d78ca5ff32499dd50db2069 Fri Apr 29 15:26:31 CEST 2016 Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> powerpc/mm/radix: Add THP support for 4K linux page size

This adds THP support for 4K Linux page size config with radix. We still
don't do THP with 4K Linux page size and hash page table. Hash page
table needs a 16MB hugepage and we can't do THP with 16MM hugepage and
4K Linux page size.

We add missing functions to 4K hash config to get it to build and
hash__has_transparent_hugepage() makes sure we don't enable THP for 4K
hash config. To catch wrong usage of THP related with 4K config, we add
BUG() in those dummy functions we added to get it compile.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
/linux/arch/powerpc/platforms/
H A DKconfig.cputypediff ab62476240d59a9d7d78ca5ff32499dd50db2069 Fri Apr 29 15:26:31 CEST 2016 Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> powerpc/mm/radix: Add THP support for 4K linux page size

This adds THP support for 4K Linux page size config with radix. We still
don't do THP with 4K Linux page size and hash page table. Hash page
table needs a 16MB hugepage and we can't do THP with 16MM hugepage and
4K Linux page size.

We add missing functions to 4K hash config to get it to build and
hash__has_transparent_hugepage() makes sure we don't enable THP for 4K
hash config. To catch wrong usage of THP related with 4K config, we add
BUG() in those dummy functions we added to get it compile.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>