Re: [PATCH 1/2] x86: x86_64_defconfig: Enable KSM.

From: Thomas Gleixner
Date: Fri Jun 15 2018 - 04:27:37 EST


On Thu, 14 Jun 2018, Daniel DÃaz 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

We all know that, but the above does not make an argument WHY this needs to
be enabled in defconfig.

Thanks,

tglx