diff options
Diffstat (limited to 'Documentation/sysctl/kernel.txt')
| -rw-r--r-- | Documentation/sysctl/kernel.txt | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt index a4ccdd1981c..f11ca7979fa 100644 --- a/Documentation/sysctl/kernel.txt +++ b/Documentation/sysctl/kernel.txt | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | Documentation for /proc/sys/kernel/* kernel version 2.2.10 | 1 | Documentation for /proc/sys/kernel/* kernel version 2.2.10 |
| 2 | (c) 1998, 1999, Rik van Riel <riel@nl.linux.org> | 2 | (c) 1998, 1999, Rik van Riel <riel@nl.linux.org> |
| 3 | (c) 2009, Shen Feng<shen@cn.fujitsu.com> | ||
| 3 | 4 | ||
| 4 | For general info and legal blurb, please look in README. | 5 | For general info and legal blurb, please look in README. |
| 5 | 6 | ||
| @@ -18,6 +19,7 @@ Currently, these files might (depending on your configuration) | |||
| 18 | show up in /proc/sys/kernel: | 19 | show up in /proc/sys/kernel: |
| 19 | - acpi_video_flags | 20 | - acpi_video_flags |
| 20 | - acct | 21 | - acct |
| 22 | - auto_msgmni | ||
| 21 | - core_pattern | 23 | - core_pattern |
| 22 | - core_uses_pid | 24 | - core_uses_pid |
| 23 | - ctrl-alt-del | 25 | - ctrl-alt-del |
| @@ -33,6 +35,7 @@ show up in /proc/sys/kernel: | |||
| 33 | - msgmax | 35 | - msgmax |
| 34 | - msgmnb | 36 | - msgmnb |
| 35 | - msgmni | 37 | - msgmni |
| 38 | - nmi_watchdog | ||
| 36 | - osrelease | 39 | - osrelease |
| 37 | - ostype | 40 | - ostype |
| 38 | - overflowgid | 41 | - overflowgid |
| @@ -40,6 +43,7 @@ show up in /proc/sys/kernel: | |||
| 40 | - panic | 43 | - panic |
| 41 | - pid_max | 44 | - pid_max |
| 42 | - powersave-nap [ PPC only ] | 45 | - powersave-nap [ PPC only ] |
| 46 | - panic_on_unrecovered_nmi | ||
| 43 | - printk | 47 | - printk |
| 44 | - randomize_va_space | 48 | - randomize_va_space |
| 45 | - real-root-dev ==> Documentation/initrd.txt | 49 | - real-root-dev ==> Documentation/initrd.txt |
| @@ -55,6 +59,7 @@ show up in /proc/sys/kernel: | |||
| 55 | - sysrq ==> Documentation/sysrq.txt | 59 | - sysrq ==> Documentation/sysrq.txt |
| 56 | - tainted | 60 | - tainted |
| 57 | - threads-max | 61 | - threads-max |
| 62 | - unknown_nmi_panic | ||
| 58 | - version | 63 | - version |
| 59 | 64 | ||
| 60 | ============================================================== | 65 | ============================================================== |
| @@ -381,3 +386,51 @@ can be ORed together: | |||
| 381 | 512 - A kernel warning has occurred. | 386 | 512 - A kernel warning has occurred. |
| 382 | 1024 - A module from drivers/staging was loaded. | 387 | 1024 - A module from drivers/staging was loaded. |
| 383 | 388 | ||
| 389 | ============================================================== | ||
| 390 | |||
| 391 | auto_msgmni: | ||
| 392 | |||
| 393 | Enables/Disables automatic recomputing of msgmni upon memory add/remove or | ||
| 394 | upon ipc namespace creation/removal (see the msgmni description above). | ||
| 395 | Echoing "1" into this file enables msgmni automatic recomputing. | ||
| 396 | Echoing "0" turns it off. | ||
| 397 | auto_msgmni default value is 1. | ||
| 398 | |||
| 399 | ============================================================== | ||
| 400 | |||
| 401 | nmi_watchdog: | ||
| 402 | |||
| 403 | Enables/Disables the NMI watchdog on x86 systems. When the value is non-zero | ||
| 404 | the NMI watchdog is enabled and will continuously test all online cpus to | ||
| 405 | determine whether or not they are still functioning properly. Currently, | ||
| 406 | passing "nmi_watchdog=" parameter at boot time is required for this function | ||
| 407 | to work. | ||
| 408 | |||
| 409 | If LAPIC NMI watchdog method is in use (nmi_watchdog=2 kernel parameter), the | ||
| 410 | NMI watchdog shares registers with oprofile. By disabling the NMI watchdog, | ||
| 411 | oprofile may have more registers to utilize. | ||
| 412 | |||
| 413 | ============================================================== | ||
| 414 | |||
| 415 | unknown_nmi_panic: | ||
| 416 | |||
| 417 | The value in this file affects behavior of handling NMI. When the value is | ||
| 418 | non-zero, unknown NMI is trapped and then panic occurs. At that time, kernel | ||
| 419 | debugging information is displayed on console. | ||
| 420 | |||
| 421 | NMI switch that most IA32 servers have fires unknown NMI up, for example. | ||
| 422 | If a system hangs up, try pressing the NMI switch. | ||
| 423 | |||
| 424 | ============================================================== | ||
| 425 | |||
| 426 | panic_on_unrecovered_nmi: | ||
| 427 | |||
| 428 | The default Linux behaviour on an NMI of either memory or unknown is to continue | ||
| 429 | operation. For many environments such as scientific computing it is preferable | ||
| 430 | that the box is taken out and the error dealt with than an uncorrected | ||
| 431 | parity/ECC error get propogated. | ||
| 432 | |||
| 433 | A small number of systems do generate NMI's for bizarre random reasons such as | ||
| 434 | power management so the default is off. That sysctl works like the existing | ||
| 435 | panic controls already in that directory. | ||
| 436 | |||
