Message ID | 1529016629-2948-2-git-send-email-daniel.diaz@linaro.org |
---|---|
State | New |
Headers | show |
Series | [1/2] x86: x86_64_defconfig: Enable KSM. | expand |
Hi Daniel, Thanks for your patch! On Fri, Jun 15, 2018 at 12:52 AM Daniel Díaz <daniel.diaz@linaro.org> wrote: > As per the documentation, Kernel Samepage Merging (available > since 2.6.32) is a memory-saving de-duplication feature, > enabled by CONFIG_KSM=y and activated via sysfs. More > information can be found here: > https://www.kernel.org/doc/Documentation/vm/ksm.txt > > When enabled in the kernel, the default is to not do anything > at all, until it is activated at run-time with: > echo 1 > /sys/kernel/mm/ksm/run So that's the "what" part. Why is it good to have this in multi_v7_defconfig, which is meant to ease (compile)testing for as many supported ARM v7 SoCs as possible? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 7e1c543..79eedf4d 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -133,6 +133,7 @@ CONFIG_SMP=y CONFIG_NR_CPUS=16 CONFIG_HIGHPTE=y CONFIG_CMA=y +CONFIG_KSM=y CONFIG_SECCOMP=y CONFIG_ARM_APPENDED_DTB=y CONFIG_ARM_ATAG_DTB_COMPAT=y
As per the documentation, Kernel Samepage Merging (available since 2.6.32) is a memory-saving de-duplication feature, enabled by CONFIG_KSM=y and activated via sysfs. More information can be found here: https://www.kernel.org/doc/Documentation/vm/ksm.txt When enabled in the kernel, the default is to not do anything at all, until it is activated at run-time with: echo 1 > /sys/kernel/mm/ksm/run Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) -- 2.7.4