Skip to content

Commit

Permalink
lib/plist.c: make CONFIG_DEBUG_PI_LIST selectable
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
ddstreet authored and torvalds committed Jun 4, 2014
1 parent c75b53a commit b8cfff6
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -833,11 +833,6 @@ config DEBUG_RT_MUTEXES
This allows rt mutex semantics violations and rt mutex related
deadlocks (lockups) to be detected and reported automatically.

config DEBUG_PI_LIST
bool
default y
depends on DEBUG_RT_MUTEXES

config RT_MUTEX_TESTER
bool "Built-in scriptable tester for rt-mutexes"
depends on DEBUG_KERNEL && RT_MUTEXES
Expand Down Expand Up @@ -1063,6 +1058,16 @@ config DEBUG_LIST

If unsure, say N.

config DEBUG_PI_LIST
bool "Debug priority linked list manipulation"
depends on DEBUG_KERNEL
help
Enable this to turn on extended checks in the priority-ordered
linked-list (plist) walking routines. This checks the entire
list multiple times during each manipulation.

If unsure, say N.

config DEBUG_SG
bool "Debug SG table operations"
depends on DEBUG_KERNEL
Expand Down

0 comments on commit b8cfff6

Please sign in to comment.