configs: Move CONFIG_PROVE_LOCKING from linaro-base.conf to debug.conf
authorAndrey Konovalov <andrey.konovalov@linaro.org>
Thu, 11 Apr 2013 12:44:26 +0000 (16:44 +0400)
committerJon Medhurst <tixy@linaro.org>
Mon, 13 May 2013 12:21:43 +0000 (13:21 +0100)
CONFIG_PROVE_LOCKING is an expensive option which adds significant
overhead to lock operations. The examples are 5% power consumption increase
for vexpress with this option enabled, and improving netperf on the loopback
results by ~200% after disabling DEBUG_MUTEXES (DEBUG_MUTEXES is selected by
PROVE_LOCKING).

Move CONFIG_PROVE_LOCKING to a separate debug.conf fragment, so that it
could be enabled only when it is needed.

Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
linaro/configs/debug.conf [new file with mode: 0644]
linaro/configs/linaro-base.conf

diff --git a/linaro/configs/debug.conf b/linaro/configs/debug.conf
new file mode 100644 (file)
index 0000000..3698056
--- /dev/null
@@ -0,0 +1 @@
+CONFIG_PROVE_LOCKING=y
index 1b4872b4529a977a26a1dac792fd6bd1e47427bf..5c748a75dfe63e38888e4714d1a31f188d63f3ae 100644 (file)
@@ -76,7 +76,6 @@ CONFIG_MAGIC_SYSRQ=y
 CONFIG_DEBUG_FS=y
 CONFIG_SCHEDSTATS=y
 CONFIG_TIMER_STATS=y
-CONFIG_PROVE_LOCKING=y
 CONFIG_KEYS=y
 CONFIG_CRYPTO_MICHAEL_MIC=y
 CONFIG_CRC_CCITT=y