aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/sysctl
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2014-02-02 03:45:39 -0500
committerIngo Molnar <mingo@kernel.org>2014-02-02 03:45:39 -0500
commiteaa4e4fcf1b5c60e656d93242f7fe422173f25b2 (patch)
treec05d5d6ca3f625d72a9d136b4c485d3dc9472089 /Documentation/sysctl
parentbe1e4e760d940c14d119bffef5eb007dfdf29046 (diff)
parent5cb480f6b488128140c940abff3c36f524a334a8 (diff)
Merge branch 'linus' into sched/core, to resolve conflicts
Conflicts: kernel/sysctl.c Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation/sysctl')
-rw-r--r--Documentation/sysctl/kernel.txt57
-rw-r--r--Documentation/sysctl/vm.txt16
2 files changed, 71 insertions, 2 deletions
diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt
index 760f6e6a2e40..04bf16ad8561 100644
--- a/Documentation/sysctl/kernel.txt
+++ b/Documentation/sysctl/kernel.txt
@@ -33,6 +33,11 @@ show up in /proc/sys/kernel:
33- domainname 33- domainname
34- hostname 34- hostname
35- hotplug 35- hotplug
36- hung_task_panic
37- hung_task_check_count
38- hung_task_timeout_secs
39- hung_task_warnings
40- kexec_load_disabled
36- kptr_restrict 41- kptr_restrict
37- kstack_depth_to_print [ X86 only ] 42- kstack_depth_to_print [ X86 only ]
38- l2cr [ PPC only ] 43- l2cr [ PPC only ]
@@ -287,6 +292,56 @@ Default value is "/sbin/hotplug".
287 292
288============================================================== 293==============================================================
289 294
295hung_task_panic:
296
297Controls the kernel's behavior when a hung task is detected.
298This file shows up if CONFIG_DETECT_HUNG_TASK is enabled.
299
3000: continue operation. This is the default behavior.
301
3021: panic immediately.
303
304==============================================================
305
306hung_task_check_count:
307
308The upper bound on the number of tasks that are checked.
309This file shows up if CONFIG_DETECT_HUNG_TASK is enabled.
310
311==============================================================
312
313hung_task_timeout_secs:
314
315Check interval. When a task in D state did not get scheduled
316for more than this value report a warning.
317This file shows up if CONFIG_DETECT_HUNG_TASK is enabled.
318
3190: means infinite timeout - no checking done.
320
321==============================================================
322
323hung_task_warning:
324
325The maximum number of warnings to report. During a check interval
326When this value is reached, no more the warnings will be reported.
327This file shows up if CONFIG_DETECT_HUNG_TASK is enabled.
328
329-1: report an infinite number of warnings.
330
331==============================================================
332
333kexec_load_disabled:
334
335A toggle indicating if the kexec_load syscall has been disabled. This
336value defaults to 0 (false: kexec_load enabled), but can be set to 1
337(true: kexec_load disabled). Once true, kexec can no longer be used, and
338the toggle cannot be set back to false. This allows a kexec image to be
339loaded before disabling the syscall, allowing a system to set up (and
340later use) an image without it being altered. Generally used together
341with the "modules_disabled" sysctl.
342
343==============================================================
344
290kptr_restrict: 345kptr_restrict:
291 346
292This toggle indicates whether restrictions are placed on 347This toggle indicates whether restrictions are placed on
@@ -331,7 +386,7 @@ A toggle value indicating if modules are allowed to be loaded
331in an otherwise modular kernel. This toggle defaults to off 386in an otherwise modular kernel. This toggle defaults to off
332(0), but can be set true (1). Once true, modules can be 387(0), but can be set true (1). Once true, modules can be
333neither loaded nor unloaded, and the toggle cannot be set back 388neither loaded nor unloaded, and the toggle cannot be set back
334to false. 389to false. Generally used with the "kexec_load_disabled" toggle.
335 390
336============================================================== 391==============================================================
337 392
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt
index 1fbd4eb7b64a..d614a9b6a280 100644
--- a/Documentation/sysctl/vm.txt
+++ b/Documentation/sysctl/vm.txt
@@ -47,6 +47,7 @@ Currently, these files are in /proc/sys/vm:
47- numa_zonelist_order 47- numa_zonelist_order
48- oom_dump_tasks 48- oom_dump_tasks
49- oom_kill_allocating_task 49- oom_kill_allocating_task
50- overcommit_kbytes
50- overcommit_memory 51- overcommit_memory
51- overcommit_ratio 52- overcommit_ratio
52- page-cluster 53- page-cluster
@@ -574,6 +575,17 @@ The default value is 0.
574 575
575============================================================== 576==============================================================
576 577
578overcommit_kbytes:
579
580When overcommit_memory is set to 2, the committed address space is not
581permitted to exceed swap plus this amount of physical RAM. See below.
582
583Note: overcommit_kbytes is the counterpart of overcommit_ratio. Only one
584of them may be specified at a time. Setting one disables the other (which
585then appears as 0 when read).
586
587==============================================================
588
577overcommit_memory: 589overcommit_memory:
578 590
579This value contains a flag that enables memory overcommitment. 591This value contains a flag that enables memory overcommitment.
@@ -684,7 +696,9 @@ swappiness
684 696
685This control is used to define how aggressive the kernel will swap 697This control is used to define how aggressive the kernel will swap
686memory pages. Higher values will increase agressiveness, lower values 698memory pages. Higher values will increase agressiveness, lower values
687decrease the amount of swap. 699decrease the amount of swap. A value of 0 instructs the kernel not to
700initiate swap until the amount of free and file-backed pages is less
701than the high water mark in a zone.
688 702
689The default value is 60. 703The default value is 60.
690 704