diff options
Diffstat (limited to 'Documentation/vm')
-rw-r--r-- | Documentation/vm/pagemap.txt | 3 | ||||
-rw-r--r-- | Documentation/vm/transhuge.txt | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/Documentation/vm/pagemap.txt b/Documentation/vm/pagemap.txt index 6fbd55ef6b45..6bfbc172cdb9 100644 --- a/Documentation/vm/pagemap.txt +++ b/Documentation/vm/pagemap.txt | |||
@@ -131,7 +131,8 @@ Short descriptions to the page flags: | |||
131 | 13. SWAPCACHE page is mapped to swap space, ie. has an associated swap entry | 131 | 13. SWAPCACHE page is mapped to swap space, ie. has an associated swap entry |
132 | 14. SWAPBACKED page is backed by swap/RAM | 132 | 14. SWAPBACKED page is backed by swap/RAM |
133 | 133 | ||
134 | The page-types tool in this directory can be used to query the above flags. | 134 | The page-types tool in the tools/vm directory can be used to query the |
135 | above flags. | ||
135 | 136 | ||
136 | Using pagemap to do something useful: | 137 | Using pagemap to do something useful: |
137 | 138 | ||
diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt index 6b31cfbe2a9a..8143b9e8373d 100644 --- a/Documentation/vm/transhuge.txt +++ b/Documentation/vm/transhuge.txt | |||
@@ -159,6 +159,17 @@ for each pass: | |||
159 | 159 | ||
160 | /sys/kernel/mm/transparent_hugepage/khugepaged/full_scans | 160 | /sys/kernel/mm/transparent_hugepage/khugepaged/full_scans |
161 | 161 | ||
162 | max_ptes_none specifies how many extra small pages (that are | ||
163 | not already mapped) can be allocated when collapsing a group | ||
164 | of small pages into one large page. | ||
165 | |||
166 | /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none | ||
167 | |||
168 | A higher value leads to use additional memory for programs. | ||
169 | A lower value leads to gain less thp performance. Value of | ||
170 | max_ptes_none can waste cpu time very little, you can | ||
171 | ignore it. | ||
172 | |||
162 | == Boot parameter == | 173 | == Boot parameter == |
163 | 174 | ||
164 | You can change the sysfs boot time defaults of Transparent Hugepage | 175 | You can change the sysfs boot time defaults of Transparent Hugepage |