diff options
Diffstat (limited to 'Documentation/sysctl/vm.txt')
-rw-r--r-- | Documentation/sysctl/vm.txt | 48 |
1 files changed, 45 insertions, 3 deletions
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt index b89570c30434..8a4863c4edd4 100644 --- a/Documentation/sysctl/vm.txt +++ b/Documentation/sysctl/vm.txt | |||
@@ -22,6 +22,7 @@ Currently, these files are in /proc/sys/vm: | |||
22 | - dirty_background_ratio | 22 | - dirty_background_ratio |
23 | - dirty_expire_centisecs | 23 | - dirty_expire_centisecs |
24 | - dirty_writeback_centisecs | 24 | - dirty_writeback_centisecs |
25 | - highmem_is_dirtyable (only if CONFIG_HIGHMEM set) | ||
25 | - max_map_count | 26 | - max_map_count |
26 | - min_free_kbytes | 27 | - min_free_kbytes |
27 | - laptop_mode | 28 | - laptop_mode |
@@ -31,16 +32,19 @@ Currently, these files are in /proc/sys/vm: | |||
31 | - min_unmapped_ratio | 32 | - min_unmapped_ratio |
32 | - min_slab_ratio | 33 | - min_slab_ratio |
33 | - panic_on_oom | 34 | - panic_on_oom |
35 | - oom_dump_tasks | ||
34 | - oom_kill_allocating_task | 36 | - oom_kill_allocating_task |
35 | - mmap_min_address | 37 | - mmap_min_address |
36 | - numa_zonelist_order | 38 | - numa_zonelist_order |
39 | - nr_hugepages | ||
40 | - nr_overcommit_hugepages | ||
37 | 41 | ||
38 | ============================================================== | 42 | ============================================================== |
39 | 43 | ||
40 | dirty_ratio, dirty_background_ratio, dirty_expire_centisecs, | 44 | dirty_ratio, dirty_background_ratio, dirty_expire_centisecs, |
41 | dirty_writeback_centisecs, vfs_cache_pressure, laptop_mode, | 45 | dirty_writeback_centisecs, highmem_is_dirtyable, |
42 | block_dump, swap_token_timeout, drop-caches, | 46 | vfs_cache_pressure, laptop_mode, block_dump, swap_token_timeout, |
43 | hugepages_treat_as_movable: | 47 | drop-caches, hugepages_treat_as_movable: |
44 | 48 | ||
45 | See Documentation/filesystems/proc.txt | 49 | See Documentation/filesystems/proc.txt |
46 | 50 | ||
@@ -229,6 +233,27 @@ according to your policy of failover. | |||
229 | 233 | ||
230 | ============================================================= | 234 | ============================================================= |
231 | 235 | ||
236 | oom_dump_tasks | ||
237 | |||
238 | Enables a system-wide task dump (excluding kernel threads) to be | ||
239 | produced when the kernel performs an OOM-killing and includes such | ||
240 | information as pid, uid, tgid, vm size, rss, cpu, oom_adj score, and | ||
241 | name. This is helpful to determine why the OOM killer was invoked | ||
242 | and to identify the rogue task that caused it. | ||
243 | |||
244 | If this is set to zero, this information is suppressed. On very | ||
245 | large systems with thousands of tasks it may not be feasible to dump | ||
246 | the memory state information for each one. Such systems should not | ||
247 | be forced to incur a performance penalty in OOM conditions when the | ||
248 | information may not be desired. | ||
249 | |||
250 | If this is set to non-zero, this information is shown whenever the | ||
251 | OOM killer actually kills a memory-hogging task. | ||
252 | |||
253 | The default value is 0. | ||
254 | |||
255 | ============================================================= | ||
256 | |||
232 | oom_kill_allocating_task | 257 | oom_kill_allocating_task |
233 | 258 | ||
234 | This enables or disables killing the OOM-triggering task in | 259 | This enables or disables killing the OOM-triggering task in |
@@ -305,3 +330,20 @@ will select "node" order in following case. | |||
305 | 330 | ||
306 | Otherwise, "zone" order will be selected. Default order is recommended unless | 331 | Otherwise, "zone" order will be selected. Default order is recommended unless |
307 | this is causing problems for your system/application. | 332 | this is causing problems for your system/application. |
333 | |||
334 | ============================================================== | ||
335 | |||
336 | nr_hugepages | ||
337 | |||
338 | Change the minimum size of the hugepage pool. | ||
339 | |||
340 | See Documentation/vm/hugetlbpage.txt | ||
341 | |||
342 | ============================================================== | ||
343 | |||
344 | nr_overcommit_hugepages | ||
345 | |||
346 | Change the maximum size of the hugepage pool. The maximum is | ||
347 | nr_hugepages + nr_overcommit_hugepages. | ||
348 | |||
349 | See Documentation/vm/hugetlbpage.txt | ||