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