From: Jérôme Glisse <jglisse@xxxxxxxxxx> Signed-off-by: Jérôme Glisse <jglisse@xxxxxxxxxx> Cc: Andrea Arcangeli <aarcange@xxxxxxxxxx> --- mm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/Kconfig b/mm/Kconfig index aeffb6e8dd21..6994a1fdf847 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -308,6 +308,7 @@ config MMU_NOTIFIER config KSM bool "Enable KSM for page merging" depends on MMU + select PAGE_RONLY help Enable Kernel Samepage Merging: KSM periodically scans those areas of an application's address space that an app has advised may be -- 2.14.3