[RFC PATCH 3/3] doc: add information about min_ptes_young

From: Ebru Akagunduz
Date: Sat Jun 11 2016 - 15:16:31 EST


min_ptes_young specifies at least how many young pages needed
to create a THP. This threshold also effects when making swapin
readahead (if needed) to create a THP. We decide whether to make
swapin readahed wortwhile looking the value.

/sys/kernel/mm/transparent_hugepage/khugepaged/min_ptes_young

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@xxxxxxxxx>
---
Documentation/vm/transhuge.txt | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt
index 2ec6adb..0ae713b 100644
--- a/Documentation/vm/transhuge.txt
+++ b/Documentation/vm/transhuge.txt
@@ -193,6 +193,13 @@ memory. A lower value can prevent THPs from being
collapsed, resulting fewer pages being collapsed into
THPs, and lower memory access performance.

+min_ptes_young specifies at least how many young pages needed
+to create a THP. This threshold also effects when making swapin
+readahead (if needed) to create a THP. We decide whether to make
+swapin readahed wortwhile looking the value.
+
+/sys/kernel/mm/transparent_hugepage/khugepaged/min_ptes_young
+
== Boot parameter ==

You can change the sysfs boot time defaults of Transparent Hugepage
--
1.9.1