aboutsummaryrefslogtreecommitdiff
path: root/linaro
diff options
context:
space:
mode:
authorAndrey Konovalov <andrey.konovalov@linaro.org>2013-04-11 16:44:26 +0400
committerKevin Hilman <khilman@linaro.org>2015-05-12 16:02:26 -0700
commit77a60cb86881d9f7ac46fd7cc26fe78e759aad69 (patch)
tree323cd320e472d6a70da66c093afa522d9d494ec9 /linaro
parent47130c9a9a0fbba051cdc03ddc4c6369a5c7ffa2 (diff)
downloadlinux-linaro-stable-77a60cb86881d9f7ac46fd7cc26fe78e759aad69.tar.gz
configs: Move CONFIG_PROVE_LOCKING from linaro-base.conf to debug.conf
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>
Diffstat (limited to 'linaro')
-rw-r--r--linaro/configs/debug.conf1
-rw-r--r--linaro/configs/linaro-base.conf1
2 files changed, 1 insertions, 1 deletions
diff --git a/linaro/configs/debug.conf b/linaro/configs/debug.conf
new file mode 100644
index 000000000000..36980566b2d8
--- /dev/null
+++ b/linaro/configs/debug.conf
@@ -0,0 +1 @@
+CONFIG_PROVE_LOCKING=y
diff --git a/linaro/configs/linaro-base.conf b/linaro/configs/linaro-base.conf
index 1b4872b4529a..5c748a75dfe6 100644
--- a/linaro/configs/linaro-base.conf
+++ b/linaro/configs/linaro-base.conf
@@ -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