Skip to contentSkip to conversation

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

PATCH Applied Balbir Singh 2 participants 2 messages Apr 13, 2017 – Aug 31, 2017 PowerPC

lore
Share & tools
lore
#0 lore raw

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

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.

---
 arch/powerpc/configs/ppc64_defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/powerpc/configs/ppc64_defconfig +2 -0
index 17c6c12..775c8f4 100644
@@ -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
Signature · 1 line
2.9.3
#1 lore raw
Quoted 7 lines · Balbir Singh

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.

Applied to powerpc next, thanks.

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

cheers