diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/sysctl/vm.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt index 56dd29b97a91..5fdbb612aeb8 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 | ||
153 | extfrag_threshold | ||
154 | |||
155 | This parameter affects whether the kernel will compact memory or direct | ||
156 | reclaim to satisfy a high-order allocation. /proc/extfrag_index shows what | ||
157 | the fragmentation index for each order is in each zone in the system. Values | ||
158 | tending towards 0 imply allocations would fail due to lack of memory, | ||
159 | values towards 1000 imply failures are due to fragmentation and -1 implies | ||
160 | that the allocation will succeed as long as watermarks are met. | ||
161 | |||
162 | The kernel will not compact memory in a zone if the | ||
163 | fragmentation index is <= extfrag_threshold. The default value is 500. | ||
164 | |||
165 | ============================================================== | ||
166 | |||
152 | hugepages_treat_as_movable | 167 | hugepages_treat_as_movable |
153 | 168 | ||
154 | This parameter is only useful when kernelcore= is specified at boot time to | 169 | This parameter is only useful when kernelcore= is specified at boot time to |