aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Streetman <ddstreet@ieee.org>2014-06-04 19:11:54 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 19:54:18 -0400
commitb8cfff68ea9cd7b25f07c1d5bb42567d084fcba3 (patch)
treee0488ef414797332041c857e56a150a69a067c5a /lib
parentc75b53af2f0043aff500af0a6f878497bef41bca (diff)
lib/plist.c: make CONFIG_DEBUG_PI_LIST selectable
Change CONFIG_DEBUG_PI_LIST to be user-selectable, and add a title and description. Remove the dependency on DEBUG_RT_MUTEXES since they were changed to use rbtrees, and there are other users of plists now. Signed-off-by: Dan Streetman <ddstreet@ieee.org> Acked-by: Steven Rostedt <rostedt@goodmis.org> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug15
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index c2de65045a40..ccca32264748 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -833,11 +833,6 @@ config DEBUG_RT_MUTEXES
833 This allows rt mutex semantics violations and rt mutex related 833 This allows rt mutex semantics violations and rt mutex related
834 deadlocks (lockups) to be detected and reported automatically. 834 deadlocks (lockups) to be detected and reported automatically.
835 835
836config DEBUG_PI_LIST
837 bool
838 default y
839 depends on DEBUG_RT_MUTEXES
840
841config RT_MUTEX_TESTER 836config RT_MUTEX_TESTER
842 bool "Built-in scriptable tester for rt-mutexes" 837 bool "Built-in scriptable tester for rt-mutexes"
843 depends on DEBUG_KERNEL && RT_MUTEXES 838 depends on DEBUG_KERNEL && RT_MUTEXES
@@ -1063,6 +1058,16 @@ config DEBUG_LIST
1063 1058
1064 If unsure, say N. 1059 If unsure, say N.
1065 1060
1061config DEBUG_PI_LIST
1062 bool "Debug priority linked list manipulation"
1063 depends on DEBUG_KERNEL
1064 help
1065 Enable this to turn on extended checks in the priority-ordered
1066 linked-list (plist) walking routines. This checks the entire
1067 list multiple times during each manipulation.
1068
1069 If unsure, say N.
1070
1066config DEBUG_SG 1071config DEBUG_SG
1067 bool "Debug SG table operations" 1072 bool "Debug SG table operations"
1068 depends on DEBUG_KERNEL 1073 depends on DEBUG_KERNEL