[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1415487703-1824-4-git-send-email-nefelim4ag@gmail.com>
Date: Sun, 9 Nov 2014 02:01:43 +0300
From: Timofey Titovets <nefelim4ag@...il.com>
To: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Cc: nefelim4ag@...il.com, marco.antonio.780@...il.com
Subject: [PATCH v2 3/3] KSM: Add config to control mark_new_vma
Allowing to control mark_new_vma default value
Allowing work ksm on early allocated vmas
Signed-off-by: Timofey Titovets <nefelim4ag@...il.com>
---
mm/Kconfig | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/mm/Kconfig b/mm/Kconfig
index 1d1ae6b..90f40a6 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -340,6 +340,13 @@ config KSM
until a program has madvised that an area is MADV_MERGEABLE, and
root has set /sys/kernel/mm/ksm/run to 1 (if CONFIG_SYSFS is set).
+config KSM_MARK_NEW_VMA
+ int "Marking new vma pages as VM_MERGEABLE"
+ depends on KSM
+ default 0
+ range 0 1
+ help
+
config DEFAULT_MMAP_MIN_ADDR
int "Low address space to protect from user allocation"
depends on MMU
--
2.1.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists