powerpc: Enable KSM on pseries and ppc64 defconfigs
authorAnton Blanchard <anton@samba.org>
Mon, 19 Jan 2015 23:24:22 +0000 (10:24 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Jan 2015 04:10:24 +0000 (15:10 +1100)
KSM will only be used on areas marked for merging via madvise, and it
is showing nice improvements on KVM workloads, so enable it by
default.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/configs/ppc64_defconfig
arch/powerpc/configs/pseries_defconfig
arch/powerpc/configs/pseries_le_defconfig

index 0fd22dfe00d130a55e8dad495bad59588c91f343..897869ce22aa2b0984f3f1abdb41f05fe468e1a4 100644 (file)
@@ -49,6 +49,7 @@ CONFIG_KEXEC=y
 CONFIG_CRASH_DUMP=y
 CONFIG_IRQ_ALL_CPUS=y
 CONFIG_MEMORY_HOTREMOVE=y
+CONFIG_KSM=y
 CONFIG_SCHED_SMT=y
 CONFIG_PCCARD=y
 CONFIG_ELECTRA_CF=y
index ffd4bbd483f9d66f1d0380ba52dcb4fda432b9e6..7677850e2b0766d332e6006c4a44f9b4d114acf4 100644 (file)
@@ -46,6 +46,7 @@ CONFIG_KEXEC=y
 CONFIG_IRQ_ALL_CPUS=y
 CONFIG_MEMORY_HOTPLUG=y
 CONFIG_MEMORY_HOTREMOVE=y
+CONFIG_KSM=y
 CONFIG_TRANSPARENT_HUGEPAGE=y
 CONFIG_PPC_64K_PAGES=y
 CONFIG_PPC_SUBPAGE_PROT=y
index 66db64ad95f2a4e72bf35af612a8f8ca1ccd15a5..acb611a268365809ad1c496f22ce36c1c7dd9a33 100644 (file)
@@ -47,6 +47,7 @@ CONFIG_KEXEC=y
 CONFIG_IRQ_ALL_CPUS=y
 CONFIG_MEMORY_HOTPLUG=y
 CONFIG_MEMORY_HOTREMOVE=y
+CONFIG_KSM=y
 CONFIG_TRANSPARENT_HUGEPAGE=y
 CONFIG_PPC_64K_PAGES=y
 CONFIG_PPC_SUBPAGE_PROT=y