diff mbox

powerpc/configs: Enable THP and 64K for ppc64(le)_defconfig

Message ID 20170413072045.17956-1-bsingharora@gmail.com (mailing list archive)
State Accepted
Commit 5b593949f8ff2b505e68bf044ea4586a4b57e1ac
Headers show

Commit Message

Balbir Singh April 13, 2017, 7:20 a.m. UTC
Enable 64K page size and THP. I use ppc64le_defconfig when I need
a single config across guest and host, but having 4K page size
as default is not what I expect. I could move these over to
server.config and merge if ppc64_defconfig is meant for systems
that use 4k pages by default.

Signed-off-by: Balbir Singh <bsingharora@gmail.com>
---
 arch/powerpc/configs/ppc64_defconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Michael Ellerman Aug. 31, 2017, 11:35 a.m. UTC | #1
On Thu, 2017-04-13 at 07:20:45 UTC, Balbir Singh wrote:
> Enable 64K page size and THP. I use ppc64le_defconfig when I need
> a single config across guest and host, but having 4K page size
> as default is not what I expect. I could move these over to
> server.config and merge if ppc64_defconfig is meant for systems
> that use 4k pages by default.
> 
> Signed-off-by: Balbir Singh <bsingharora@gmail.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/5b593949f8ff2b505e68bf044ea458

cheers
diff mbox

Patch

diff --git a/arch/powerpc/configs/ppc64_defconfig b/arch/powerpc/configs/ppc64_defconfig
index 17c6c12..775c8f4 100644
--- a/arch/powerpc/configs/ppc64_defconfig
+++ b/arch/powerpc/configs/ppc64_defconfig
@@ -53,6 +53,8 @@  CONFIG_CRASH_DUMP=y
 CONFIG_IRQ_ALL_CPUS=y
 CONFIG_MEMORY_HOTREMOVE=y
 CONFIG_KSM=y
+CONFIG_TRANSPARENT_HUGEPAGE=y
+CONFIG_PPC_64K_PAGES=y
 CONFIG_SCHED_SMT=y
 CONFIG_PCCARD=y
 CONFIG_ELECTRA_CF=y