diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-09-08 05:37:58 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-08 05:37:58 -0400 |
| commit | 5a2cec83a9bb1b4295aa8ab728fcb8ca1811a33c (patch) | |
| tree | 2f83dc6949763e77cf6422e696dc6146684dcf4e /lib/Kconfig.debug | |
| parent | f2c853bca542f5ac0b036377637192a74f2091c2 (diff) | |
| parent | caf39e87cc1182f7dae84eefc43ca14d54c78ef9 (diff) | |
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'lib/Kconfig.debug')
| -rw-r--r-- | lib/Kconfig.debug | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 299f7f3b5b08..3754c9a8f5c8 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -46,6 +46,25 @@ config LOG_BUF_SHIFT | |||
| 46 | 13 => 8 KB | 46 | 13 => 8 KB |
| 47 | 12 => 4 KB | 47 | 12 => 4 KB |
| 48 | 48 | ||
| 49 | config DETECT_SOFTLOCKUP | ||
| 50 | bool "Detect Soft Lockups" | ||
| 51 | depends on DEBUG_KERNEL | ||
| 52 | default y | ||
| 53 | help | ||
| 54 | Say Y here to enable the kernel to detect "soft lockups", | ||
| 55 | which are bugs that cause the kernel to loop in kernel | ||
| 56 | mode for more than 10 seconds, without giving other tasks a | ||
| 57 | chance to run. | ||
| 58 | |||
| 59 | When a soft-lockup is detected, the kernel will print the | ||
| 60 | current stack trace (which you should report), but the | ||
| 61 | system will stay locked up. This feature has negligible | ||
| 62 | overhead. | ||
| 63 | |||
| 64 | (Note that "hard lockups" are separate type of bugs that | ||
| 65 | can be detected via the NMI-watchdog, on platforms that | ||
| 66 | support it.) | ||
| 67 | |||
| 49 | config SCHEDSTATS | 68 | config SCHEDSTATS |
| 50 | bool "Collect scheduler statistics" | 69 | bool "Collect scheduler statistics" |
| 51 | depends on DEBUG_KERNEL && PROC_FS | 70 | depends on DEBUG_KERNEL && PROC_FS |
