KSM (Kernel Samepage Merging) considers that two pages can be merged if their contents are identical. Morello makes it harder to tell whether this is truly the case as tags need to be compared, in addition to data. Tag access is currently enabled for all private mappings, which means that the extra tag comparison would be required in most cases. Given that it is unclear whether KSM would still be worthwhile with such additional overhead, let's disable it for now.
Signed-off-by: Kevin Brodsky kevin.brodsky@arm.com --- arch/arm64/configs/morello_transitional_pcuabi_defconfig | 1 - 1 file changed, 1 deletion(-)
diff --git a/arch/arm64/configs/morello_transitional_pcuabi_defconfig b/arch/arm64/configs/morello_transitional_pcuabi_defconfig index 0f692600a181..479371a69515 100644 --- a/arch/arm64/configs/morello_transitional_pcuabi_defconfig +++ b/arch/arm64/configs/morello_transitional_pcuabi_defconfig @@ -56,7 +56,6 @@ CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set # CONFIG_COMPAT_BRK is not set -CONFIG_KSM=y CONFIG_MEMORY_FAILURE=y CONFIG_TRANSPARENT_HUGEPAGE=y CONFIG_CMA=y