aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/sysctl/vm.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt
index 56dd29b97a9..5fdbb612aeb 100644
--- a/Documentation/sysctl/vm.txt
+++ b/Documentation/sysctl/vm.txt
@@ -27,6 +27,7 @@ Currently, these files are in /proc/sys/vm:
27- dirty_ratio 27- dirty_ratio
28- dirty_writeback_centisecs 28- dirty_writeback_centisecs
29- drop_caches 29- drop_caches
30- extfrag_threshold
30- hugepages_treat_as_movable 31- hugepages_treat_as_movable
31- hugetlb_shm_group 32- hugetlb_shm_group
32- laptop_mode 33- laptop_mode
@@ -149,6 +150,20 @@ user should run `sync' first.
149 150
150============================================================== 151==============================================================
151 152
153extfrag_threshold
154
155This parameter affects whether the kernel will compact memory or direct
156reclaim to satisfy a high-order allocation. /proc/extfrag_index shows what
157the fragmentation index for each order is in each zone in the system. Values
158tending towards 0 imply allocations would fail due to lack of memory,
159values towards 1000 imply failures are due to fragmentation and -1 implies
160that the allocation will succeed as long as watermarks are met.
161
162The kernel will not compact memory in a zone if the
163fragmentation index is <= extfrag_threshold. The default value is 500.
164
165==============================================================
166
152hugepages_treat_as_movable 167hugepages_treat_as_movable
153 168
154This parameter is only useful when kernelcore= is specified at boot time to 169This parameter is only useful when kernelcore= is specified at boot time to