Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

doc: add information about max_ptes_none

max_ptes_none specifies how many extra small pages (that are
not already mapped) can be allocated when collapsing a group
of small pages into one large page.

/sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none

A higher value leads to use additional memory for programs.
A lower value leads to gain less thp performance. Value of
max_ptes_none can waste cpu time very little, you can
ignore it.

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Ebru Akagunduz and committed by
Jonathan Corbet
9ddfa69f d0724961

+11
+11
Documentation/vm/transhuge.txt
··· 159 159 160 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 173 == Boot parameter == 163 174 164 175 You can change the sysfs boot time defaults of Transparent Hugepage