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 02b134956273..322a00bb99d9 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 |
@@ -34,6 +36,7 @@ show up in /proc/sys/kernel: | |||
34 | - msgmax | 36 | - msgmax |
35 | - msgmnb | 37 | - msgmnb |
36 | - msgmni | 38 | - msgmni |
39 | - nmi_watchdog | ||
37 | - osrelease | 40 | - osrelease |
38 | - ostype | 41 | - ostype |
39 | - overflowgid | 42 | - overflowgid |
@@ -41,6 +44,7 @@ show up in /proc/sys/kernel: | |||
41 | - panic | 44 | - panic |
42 | - pid_max | 45 | - pid_max |
43 | - powersave-nap [ PPC only ] | 46 | - powersave-nap [ PPC only ] |
47 | - panic_on_unrecovered_nmi | ||
44 | - printk | 48 | - printk |
45 | - randomize_va_space | 49 | - randomize_va_space |
46 | - real-root-dev ==> Documentation/initrd.txt | 50 | - real-root-dev ==> Documentation/initrd.txt |
@@ -56,6 +60,7 @@ show up in /proc/sys/kernel: | |||
56 | - sysrq ==> Documentation/sysrq.txt | 60 | - sysrq ==> Documentation/sysrq.txt |
57 | - tainted | 61 | - tainted |
58 | - threads-max | 62 | - threads-max |
63 | - unknown_nmi_panic | ||
59 | - version | 64 | - version |
60 | 65 | ||
61 | ============================================================== | 66 | ============================================================== |
@@ -392,3 +397,51 @@ can be ORed together: | |||
392 | 512 - A kernel warning has occurred. | 397 | 512 - A kernel warning has occurred. |
393 | 1024 - A module from drivers/staging was loaded. | 398 | 1024 - A module from drivers/staging was loaded. |
394 | 399 | ||
400 | ============================================================== | ||
401 | |||
402 | auto_msgmni: | ||
403 | |||
404 | Enables/Disables automatic recomputing of msgmni upon memory add/remove or | ||
405 | upon ipc namespace creation/removal (see the msgmni description above). | ||
406 | Echoing "1" into this file enables msgmni automatic recomputing. | ||
407 | Echoing "0" turns it off. | ||
408 | auto_msgmni default value is 1. | ||
409 | |||
410 | ============================================================== | ||
411 | |||
412 | nmi_watchdog: | ||
413 | |||
414 | Enables/Disables the NMI watchdog on x86 systems. When the value is non-zero | ||
415 | the NMI watchdog is enabled and will continuously test all online cpus to | ||
416 | determine whether or not they are still functioning properly. Currently, | ||
417 | passing "nmi_watchdog=" parameter at boot time is required for this function | ||
418 | to work. | ||
419 | |||
420 | If LAPIC NMI watchdog method is in use (nmi_watchdog=2 kernel parameter), the | ||
421 | NMI watchdog shares registers with oprofile. By disabling the NMI watchdog, | ||
422 | oprofile may have more registers to utilize. | ||
423 | |||
424 | ============================================================== | ||
425 | |||
426 | unknown_nmi_panic: | ||
427 | |||
428 | The value in this file affects behavior of handling NMI. When the value is | ||
429 | non-zero, unknown NMI is trapped and then panic occurs. At that time, kernel | ||
430 | debugging information is displayed on console. | ||
431 | |||
432 | NMI switch that most IA32 servers have fires unknown NMI up, for example. | ||
433 | If a system hangs up, try pressing the NMI switch. | ||
434 | |||
435 | ============================================================== | ||
436 | |||
437 | panic_on_unrecovered_nmi: | ||
438 | |||
439 | The default Linux behaviour on an NMI of either memory or unknown is to continue | ||
440 | operation. For many environments such as scientific computing it is preferable | ||
441 | that the box is taken out and the error dealt with than an uncorrected | ||
442 | parity/ECC error get propogated. | ||
443 | |||
444 | A small number of systems do generate NMI's for bizarre random reasons such as | ||
445 | power management so the default is off. That sysctl works like the existing | ||
446 | panic controls already in that directory. | ||
447 | |||