diff options
| author | Aristeu Rozanski <aris@redhat.com> | 2008-10-30 13:08:50 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-10-30 14:07:04 -0400 |
| commit | 8a1c8eb75be492e20003966652c9cd5ff57a559d (patch) | |
| tree | 9cd97cc9f80fa538017a2ed741de7393876aba08 | |
| parent | b062f841b569791d3054e975cd85f48562161565 (diff) | |
x86, nmi-watchdog: update procfs nmi_watchdog file documentation v2
Impact: improve documentation
This patch updates the /proc/sys/kernel/nmi_watchdog documentation.
Updated: included Randy Dunlap's corrections.
Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
| -rw-r--r-- | Documentation/filesystems/proc.txt | 9 | ||||
| -rw-r--r-- | Documentation/nmi_watchdog.txt | 5 |
2 files changed, 11 insertions, 3 deletions
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index bcceb99b81dd..86be879ed70e 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt | |||
| @@ -1338,10 +1338,13 @@ nmi_watchdog | |||
| 1338 | 1338 | ||
| 1339 | Enables/Disables the NMI watchdog on x86 systems. When the value is non-zero | 1339 | Enables/Disables the NMI watchdog on x86 systems. When the value is non-zero |
| 1340 | the NMI watchdog is enabled and will continuously test all online cpus to | 1340 | the NMI watchdog is enabled and will continuously test all online cpus to |
| 1341 | determine whether or not they are still functioning properly. | 1341 | determine whether or not they are still functioning properly. Currently, |
| 1342 | passing "nmi_watchdog=" parameter at boot time is required for this function | ||
| 1343 | to work. | ||
| 1342 | 1344 | ||
| 1343 | Because the NMI watchdog shares registers with oprofile, by disabling the NMI | 1345 | If LAPIC NMI watchdog method is in use (nmi_watchdog=2 kernel parameter), the |
| 1344 | watchdog, oprofile may have more registers to utilize. | 1346 | NMI watchdog shares registers with oprofile. By disabling the NMI watchdog, |
| 1347 | oprofile may have more registers to utilize. | ||
| 1345 | 1348 | ||
| 1346 | msgmni | 1349 | msgmni |
| 1347 | ------ | 1350 | ------ |
diff --git a/Documentation/nmi_watchdog.txt b/Documentation/nmi_watchdog.txt index 90aa4531cb67..bf9f80a98282 100644 --- a/Documentation/nmi_watchdog.txt +++ b/Documentation/nmi_watchdog.txt | |||
| @@ -69,6 +69,11 @@ to the overall system performance. | |||
| 69 | On x86 nmi_watchdog is disabled by default so you have to enable it with | 69 | On x86 nmi_watchdog is disabled by default so you have to enable it with |
| 70 | a boot time parameter. | 70 | a boot time parameter. |
| 71 | 71 | ||
| 72 | It's possible to disable the NMI watchdog in run-time by writing "0" to | ||
| 73 | /proc/sys/kernel/nmi_watchdog. Writing "1" to the same file will re-enable | ||
| 74 | the NMI watchdog. Notice that you still need to use "nmi_watchdog=" parameter | ||
| 75 | at boot time. | ||
| 76 | |||
| 72 | NOTE: In kernels prior to 2.4.2-ac18 the NMI-oopser is enabled unconditionally | 77 | NOTE: In kernels prior to 2.4.2-ac18 the NMI-oopser is enabled unconditionally |
| 73 | on x86 SMP boxes. | 78 | on x86 SMP boxes. |
| 74 | 79 | ||
