diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Kconfig.debug | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index c459e8547bd8..011e00bcfc30 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -147,7 +147,7 @@ config DETECT_SOFTLOCKUP | |||
| 147 | help | 147 | help |
| 148 | Say Y here to enable the kernel to detect "soft lockups", | 148 | Say Y here to enable the kernel to detect "soft lockups", |
| 149 | which are bugs that cause the kernel to loop in kernel | 149 | which are bugs that cause the kernel to loop in kernel |
| 150 | mode for more than 10 seconds, without giving other tasks a | 150 | mode for more than 60 seconds, without giving other tasks a |
| 151 | chance to run. | 151 | chance to run. |
| 152 | 152 | ||
| 153 | When a soft-lockup is detected, the kernel will print the | 153 | When a soft-lockup is detected, the kernel will print the |
| @@ -159,6 +159,30 @@ config DETECT_SOFTLOCKUP | |||
| 159 | can be detected via the NMI-watchdog, on platforms that | 159 | can be detected via the NMI-watchdog, on platforms that |
| 160 | support it.) | 160 | support it.) |
| 161 | 161 | ||
| 162 | config BOOTPARAM_SOFTLOCKUP_PANIC | ||
| 163 | bool "Panic (Reboot) On Soft Lockups" | ||
| 164 | depends on DETECT_SOFTLOCKUP | ||
| 165 | help | ||
| 166 | Say Y here to enable the kernel to panic on "soft lockups", | ||
| 167 | which are bugs that cause the kernel to loop in kernel | ||
| 168 | mode for more than 60 seconds, without giving other tasks a | ||
| 169 | chance to run. | ||
| 170 | |||
| 171 | The panic can be used in combination with panic_timeout, | ||
| 172 | to cause the system to reboot automatically after a | ||
| 173 | lockup has been detected. This feature is useful for | ||
| 174 | high-availability systems that have uptime guarantees and | ||
| 175 | where a lockup must be resolved ASAP. | ||
| 176 | |||
| 177 | Say N if unsure. | ||
| 178 | |||
| 179 | config BOOTPARAM_SOFTLOCKUP_PANIC_VALUE | ||
| 180 | int | ||
| 181 | depends on DETECT_SOFTLOCKUP | ||
| 182 | range 0 1 | ||
| 183 | default 0 if !BOOTPARAM_SOFTLOCKUP_PANIC | ||
| 184 | default 1 if BOOTPARAM_SOFTLOCKUP_PANIC | ||
| 185 | |||
| 162 | config SCHED_DEBUG | 186 | config SCHED_DEBUG |
| 163 | bool "Collect scheduler debugging info" | 187 | bool "Collect scheduler debugging info" |
| 164 | depends on DEBUG_KERNEL && PROC_FS | 188 | depends on DEBUG_KERNEL && PROC_FS |
