diff options
| author | Takashi Iwai <tiwai@suse.de> | 2011-08-08 14:30:29 +0200 | 
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2011-08-08 14:30:29 +0200 | 
| commit | 0a2d31b62dba9b5b92a38c67c9cc42630513662a (patch) | |
| tree | f755d74ec85248de645e10c45ed1a2ed467530f6 /lib/Kconfig.debug | |
| parent | 8039290a91c5dc4414093c086987a5d7738fe2fd (diff) | |
| parent | df944f66784e6d4f2f50739263a4947885d8b6ae (diff) | |
Merge branch 'fix/kconfig' into for-linus
Diffstat (limited to 'lib/Kconfig.debug')
| -rw-r--r-- | lib/Kconfig.debug | 13 | 
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index dd373c8ee943..c0cb9c4bc46d 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -227,7 +227,7 @@ config BOOTPARAM_SOFTLOCKUP_PANIC_VALUE  config DETECT_HUNG_TASK  	bool "Detect Hung Tasks"  	depends on DEBUG_KERNEL -	default DETECT_SOFTLOCKUP +	default LOCKUP_DETECTOR  	help  	  Say Y here to enable the kernel to detect "hung tasks",  	  which are bugs that cause the task to be stuck in @@ -648,12 +648,15 @@ config TRACE_IRQFLAGS  	  Enables hooks to interrupt enabling and disabling for  	  either tracing or lock debugging. -config DEBUG_SPINLOCK_SLEEP -	bool "Spinlock debugging: sleep-inside-spinlock checking" +config DEBUG_ATOMIC_SLEEP +	bool "Sleep inside atomic section checking" +	select PREEMPT_COUNT  	depends on DEBUG_KERNEL  	help  	  If you say Y here, various routines which may sleep will become very -	  noisy if they are called with a spinlock held. +	  noisy if they are called inside atomic sections: when a spinlock is +	  held, inside an rcu read side critical section, inside preempt disabled +	  sections, inside an interrupt, etc...  config DEBUG_LOCKING_API_SELFTESTS  	bool "Locking API boot-time self-tests" @@ -866,7 +869,7 @@ config BOOT_PRINTK_DELAY  	  system, and then set "lpj=M" before setting "boot_delay=N".  	  NOTE:  Using this option may adversely affect SMP systems.  	  I.e., processors other than the first one may not boot up. -	  BOOT_PRINTK_DELAY also may cause DETECT_SOFTLOCKUP to detect +	  BOOT_PRINTK_DELAY also may cause LOCKUP_DETECTOR to detect  	  what it believes to be lockup conditions.  config RCU_TORTURE_TEST  | 
