aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/sysctl/kernel.txt
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2009-05-08 03:56:47 -0400
committerJames Morris <jmorris@namei.org>2009-05-08 03:56:47 -0400
commitd254117099d711f215e62427f55dfb8ebd5ad011 (patch)
tree0848ff8dd74314fec14a86497f8d288c86ba7c65 /Documentation/sysctl/kernel.txt
parent07ff7a0b187f3951788f64ae1f30e8109bc8e9eb (diff)
parent8c9ed899b44c19e81859fbb0e9d659fe2f8630fc (diff)
Merge branch 'master' into next
Diffstat (limited to 'Documentation/sysctl/kernel.txt')
-rw-r--r--Documentation/sysctl/kernel.txt53
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 @@
1Documentation for /proc/sys/kernel/* kernel version 2.2.10 1Documentation 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
4For general info and legal blurb, please look in README. 5For general info and legal blurb, please look in README.
5 6
@@ -18,6 +19,7 @@ Currently, these files might (depending on your configuration)
18show up in /proc/sys/kernel: 19show 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.
3931024 - A module from drivers/staging was loaded. 3981024 - A module from drivers/staging was loaded.
394 399
400==============================================================
401
402auto_msgmni:
403
404Enables/Disables automatic recomputing of msgmni upon memory add/remove or
405upon ipc namespace creation/removal (see the msgmni description above).
406Echoing "1" into this file enables msgmni automatic recomputing.
407Echoing "0" turns it off.
408auto_msgmni default value is 1.
409
410==============================================================
411
412nmi_watchdog:
413
414Enables/Disables the NMI watchdog on x86 systems. When the value is non-zero
415the NMI watchdog is enabled and will continuously test all online cpus to
416determine whether or not they are still functioning properly. Currently,
417passing "nmi_watchdog=" parameter at boot time is required for this function
418to work.
419
420If LAPIC NMI watchdog method is in use (nmi_watchdog=2 kernel parameter), the
421NMI watchdog shares registers with oprofile. By disabling the NMI watchdog,
422oprofile may have more registers to utilize.
423
424==============================================================
425
426unknown_nmi_panic:
427
428The value in this file affects behavior of handling NMI. When the value is
429non-zero, unknown NMI is trapped and then panic occurs. At that time, kernel
430debugging information is displayed on console.
431
432NMI switch that most IA32 servers have fires unknown NMI up, for example.
433If a system hangs up, try pressing the NMI switch.
434
435==============================================================
436
437panic_on_unrecovered_nmi:
438
439The default Linux behaviour on an NMI of either memory or unknown is to continue
440operation. For many environments such as scientific computing it is preferable
441that the box is taken out and the error dealt with than an uncorrected
442parity/ECC error get propogated.
443
444A small number of systems do generate NMI's for bizarre random reasons such as
445power management so the default is off. That sysctl works like the existing
446panic controls already in that directory.
447