aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/proc.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
index 460b892d089e..ebffdffb3d99 100644
--- a/Documentation/filesystems/proc.txt
+++ b/Documentation/filesystems/proc.txt
@@ -1348,6 +1348,21 @@ nr_hugepages configures number of hugetlb page reserved for the system.
1348hugetlb_shm_group contains group id that is allowed to create SysV shared 1348hugetlb_shm_group contains group id that is allowed to create SysV shared
1349memory segment using hugetlb page. 1349memory segment using hugetlb page.
1350 1350
1351hugepages_treat_as_movable
1352--------------------------
1353
1354This parameter is only useful when kernelcore= is specified at boot time to
1355create ZONE_MOVABLE for pages that may be reclaimed or migrated. Huge pages
1356are not movable so are not normally allocated from ZONE_MOVABLE. A non-zero
1357value written to hugepages_treat_as_movable allows huge pages to be allocated
1358from ZONE_MOVABLE.
1359
1360Once enabled, the ZONE_MOVABLE is treated as an area of memory the huge
1361pages pool can easily grow or shrink within. Assuming that applications are
1362not running that mlock() a lot of memory, it is likely the huge pages pool
1363can grow to the size of ZONE_MOVABLE by repeatedly entering the desired value
1364into nr_hugepages and triggering page reclaim.
1365
1351laptop_mode 1366laptop_mode
1352----------- 1367-----------
1353 1368