diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-11 22:13:04 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-11 22:13:04 -0500 |
commit | 541048a1d31399ccdda27346a37eae4a2ad55186 (patch) | |
tree | e2a820ee478b18d4214347631b94b9a9b2d8562b /Documentation | |
parent | bcede2f64a3b5cb50c0bdec1553ab480fd75d659 (diff) | |
parent | e58d429209105e698e9d0357481d62b37fe9a7dd (diff) |
Merge branch 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
* 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86, reboot: Fix typo in nmi reboot path
x86, NMI: Add to_cpumask() to silence compile warning
x86, NMI: NMI selftest depends on the local apic
x86: Add stack top margin for stack overflow checking
x86, NMI: NMI-selftest should handle the UP case properly
x86: Fix the 32-bit stackoverflow-debug build
x86, NMI: Add knob to disable using NMI IPIs to stop cpus
x86, NMI: Add NMI IPI selftest
x86, reboot: Use NMI instead of REBOOT_VECTOR to stop cpus
x86: Clean up the range of stack overflow checking
x86: Panic on detection of stack overflow
x86: Check stack overflow in detail
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kernel-parameters.txt | 4 | ||||
-rw-r--r-- | Documentation/sysctl/kernel.txt | 14 |
2 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index a8d389d72405..eb93fd0ec734 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -1824,6 +1824,10 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
1824 | nomfgpt [X86-32] Disable Multi-Function General Purpose | 1824 | nomfgpt [X86-32] Disable Multi-Function General Purpose |
1825 | Timer usage (for AMD Geode machines). | 1825 | Timer usage (for AMD Geode machines). |
1826 | 1826 | ||
1827 | nonmi_ipi [X86] Disable using NMI IPIs during panic/reboot to | ||
1828 | shutdown the other cpus. Instead use the REBOOT_VECTOR | ||
1829 | irq. | ||
1830 | |||
1827 | nopat [X86] Disable PAT (page attribute table extension of | 1831 | nopat [X86] Disable PAT (page attribute table extension of |
1828 | pagetables) support. | 1832 | pagetables) support. |
1829 | 1833 | ||
diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt index 1f2463671a1a..6d8cd8b2c30d 100644 --- a/Documentation/sysctl/kernel.txt +++ b/Documentation/sysctl/kernel.txt | |||
@@ -49,6 +49,7 @@ show up in /proc/sys/kernel: | |||
49 | - panic | 49 | - panic |
50 | - panic_on_oops | 50 | - panic_on_oops |
51 | - panic_on_unrecovered_nmi | 51 | - panic_on_unrecovered_nmi |
52 | - panic_on_stackoverflow | ||
52 | - pid_max | 53 | - pid_max |
53 | - powersave-nap [ PPC only ] | 54 | - powersave-nap [ PPC only ] |
54 | - printk | 55 | - printk |
@@ -393,6 +394,19 @@ Controls the kernel's behaviour when an oops or BUG is encountered. | |||
393 | 394 | ||
394 | ============================================================== | 395 | ============================================================== |
395 | 396 | ||
397 | panic_on_stackoverflow: | ||
398 | |||
399 | Controls the kernel's behavior when detecting the overflows of | ||
400 | kernel, IRQ and exception stacks except a user stack. | ||
401 | This file shows up if CONFIG_DEBUG_STACKOVERFLOW is enabled. | ||
402 | |||
403 | 0: try to continue operation. | ||
404 | |||
405 | 1: panic immediately. | ||
406 | |||
407 | ============================================================== | ||
408 | |||
409 | |||
396 | pid_max: | 410 | pid_max: |
397 | 411 | ||
398 | PID allocation wrap value. When the kernel's next PID value | 412 | PID allocation wrap value. When the kernel's next PID value |