Skip to contentSkip to conversation

+ lib-plistc-make-config_debug_pi_list-selectable.patch added to -mm tree

PATCH [email protected] 1 participant 1 message May 9, 2014 Library code

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: + lib-plistc-make-config_debug_pi_list-selectable.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 09 May 2014 14:42:19 -0700

The patch titled
Subject: lib/plist.c: make CONFIG_DEBUG_PI_LIST selectable
has been added to the -mm tree. Its filename is
lib-plistc-make-config_debug_pi_list-selectable.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/lib-plistc-make-config_debug_pi_list-selectable.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/lib-plistc-make-config_debug_pi_list-selectable.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Dan Streetman <[email protected]>
Subject: 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.

---

 lib/Kconfig.debug |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
lib/Kconfig.debug renamed from lib/Kconfig.debug~lib-plistc-make-config_debug_pi_list-selectable +10 -5
diff -puN lib/Kconfig.debug~lib-plistc-make-config_debug_pi_list-selectable lib/Kconfig.debug
@@ -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
@@ -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

_

Patches currently in -mm which might be from [email protected] are

documentation-expand-clarify-debug-documentation.patch lib-plistc-replace-pr_debug-with-printk-in-plist_test.patch lib-plistc-make-config_debug_pi_list-selectable.patch