diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 755713a359e2..3a18b0b856ce 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -152,29 +152,10 @@ config DEBUG_SHIRQ | |||
152 | Drivers ought to be able to handle interrupts coming in at those | 152 | Drivers ought to be able to handle interrupts coming in at those |
153 | points; some don't and need to be caught. | 153 | points; some don't and need to be caught. |
154 | 154 | ||
155 | config DETECT_SOFTLOCKUP | ||
156 | bool | ||
157 | depends on DEBUG_KERNEL && !S390 | ||
158 | default y | ||
159 | help | ||
160 | Say Y here to enable the kernel to detect "soft lockups", | ||
161 | which are bugs that cause the kernel to loop in kernel | ||
162 | mode for more than 60 seconds, without giving other tasks a | ||
163 | chance to run. | ||
164 | |||
165 | When a soft-lockup is detected, the kernel will print the | ||
166 | current stack trace (which you should report), but the | ||
167 | system will stay locked up. This feature has negligible | ||
168 | overhead. | ||
169 | |||
170 | (Note that "hard lockups" are separate type of bugs that | ||
171 | can be detected via the NMI-watchdog, on platforms that | ||
172 | support it.) | ||
173 | |||
174 | config LOCKUP_DETECTOR | 155 | config LOCKUP_DETECTOR |
175 | bool "Detect Hard and Soft Lockups" | 156 | bool "Detect Hard and Soft Lockups" |
176 | depends on DEBUG_KERNEL | 157 | depends on DEBUG_KERNEL && !S390 |
177 | default DETECT_SOFTLOCKUP | 158 | default y |
178 | help | 159 | help |
179 | Say Y here to enable the kernel to act as a watchdog to detect | 160 | Say Y here to enable the kernel to act as a watchdog to detect |
180 | hard and soft lockups. | 161 | hard and soft lockups. |
@@ -212,7 +193,7 @@ config BOOTPARAM_SOFTLOCKUP_PANIC | |||
212 | 193 | ||
213 | config BOOTPARAM_SOFTLOCKUP_PANIC_VALUE | 194 | config BOOTPARAM_SOFTLOCKUP_PANIC_VALUE |
214 | int | 195 | int |
215 | depends on DETECT_SOFTLOCKUP | 196 | depends on LOCKUP_DETECTOR |
216 | range 0 1 | 197 | range 0 1 |
217 | default 0 if !BOOTPARAM_SOFTLOCKUP_PANIC | 198 | default 0 if !BOOTPARAM_SOFTLOCKUP_PANIC |
218 | default 1 if BOOTPARAM_SOFTLOCKUP_PANIC | 199 | default 1 if BOOTPARAM_SOFTLOCKUP_PANIC |