diff options
| author | Ingo Molnar <mingo@kernel.org> | 2014-02-02 03:45:39 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2014-02-02 03:45:39 -0500 |
| commit | eaa4e4fcf1b5c60e656d93242f7fe422173f25b2 (patch) | |
| tree | c05d5d6ca3f625d72a9d136b4c485d3dc9472089 /Documentation/sysctl | |
| parent | be1e4e760d940c14d119bffef5eb007dfdf29046 (diff) | |
| parent | 5cb480f6b488128140c940abff3c36f524a334a8 (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.txt | 57 | ||||
| -rw-r--r-- | Documentation/sysctl/vm.txt | 16 |
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 | ||
| 295 | hung_task_panic: | ||
| 296 | |||
| 297 | Controls the kernel's behavior when a hung task is detected. | ||
| 298 | This file shows up if CONFIG_DETECT_HUNG_TASK is enabled. | ||
| 299 | |||
| 300 | 0: continue operation. This is the default behavior. | ||
| 301 | |||
| 302 | 1: panic immediately. | ||
| 303 | |||
| 304 | ============================================================== | ||
| 305 | |||
| 306 | hung_task_check_count: | ||
| 307 | |||
| 308 | The upper bound on the number of tasks that are checked. | ||
| 309 | This file shows up if CONFIG_DETECT_HUNG_TASK is enabled. | ||
| 310 | |||
| 311 | ============================================================== | ||
| 312 | |||
| 313 | hung_task_timeout_secs: | ||
| 314 | |||
| 315 | Check interval. When a task in D state did not get scheduled | ||
| 316 | for more than this value report a warning. | ||
| 317 | This file shows up if CONFIG_DETECT_HUNG_TASK is enabled. | ||
| 318 | |||
| 319 | 0: means infinite timeout - no checking done. | ||
| 320 | |||
| 321 | ============================================================== | ||
| 322 | |||
| 323 | hung_task_warning: | ||
| 324 | |||
| 325 | The maximum number of warnings to report. During a check interval | ||
| 326 | When this value is reached, no more the warnings will be reported. | ||
| 327 | This file shows up if CONFIG_DETECT_HUNG_TASK is enabled. | ||
| 328 | |||
| 329 | -1: report an infinite number of warnings. | ||
| 330 | |||
| 331 | ============================================================== | ||
| 332 | |||
| 333 | kexec_load_disabled: | ||
| 334 | |||
| 335 | A toggle indicating if the kexec_load syscall has been disabled. This | ||
| 336 | value 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 | ||
| 338 | the toggle cannot be set back to false. This allows a kexec image to be | ||
| 339 | loaded before disabling the syscall, allowing a system to set up (and | ||
| 340 | later use) an image without it being altered. Generally used together | ||
| 341 | with the "modules_disabled" sysctl. | ||
| 342 | |||
| 343 | ============================================================== | ||
| 344 | |||
| 290 | kptr_restrict: | 345 | kptr_restrict: |
| 291 | 346 | ||
| 292 | This toggle indicates whether restrictions are placed on | 347 | This toggle indicates whether restrictions are placed on |
| @@ -331,7 +386,7 @@ A toggle value indicating if modules are allowed to be loaded | |||
| 331 | in an otherwise modular kernel. This toggle defaults to off | 386 | in 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 |
| 333 | neither loaded nor unloaded, and the toggle cannot be set back | 388 | neither loaded nor unloaded, and the toggle cannot be set back |
| 334 | to false. | 389 | to 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 | ||
| 578 | overcommit_kbytes: | ||
| 579 | |||
| 580 | When overcommit_memory is set to 2, the committed address space is not | ||
| 581 | permitted to exceed swap plus this amount of physical RAM. See below. | ||
| 582 | |||
| 583 | Note: overcommit_kbytes is the counterpart of overcommit_ratio. Only one | ||
| 584 | of them may be specified at a time. Setting one disables the other (which | ||
| 585 | then appears as 0 when read). | ||
| 586 | |||
| 587 | ============================================================== | ||
| 588 | |||
| 577 | overcommit_memory: | 589 | overcommit_memory: |
| 578 | 590 | ||
| 579 | This value contains a flag that enables memory overcommitment. | 591 | This value contains a flag that enables memory overcommitment. |
| @@ -684,7 +696,9 @@ swappiness | |||
| 684 | 696 | ||
| 685 | This control is used to define how aggressive the kernel will swap | 697 | This control is used to define how aggressive the kernel will swap |
| 686 | memory pages. Higher values will increase agressiveness, lower values | 698 | memory pages. Higher values will increase agressiveness, lower values |
| 687 | decrease the amount of swap. | 699 | decrease the amount of swap. A value of 0 instructs the kernel not to |
| 700 | initiate swap until the amount of free and file-backed pages is less | ||
| 701 | than the high water mark in a zone. | ||
| 688 | 702 | ||
| 689 | The default value is 60. | 703 | The default value is 60. |
| 690 | 704 | ||
