diff options
author | Andrey Konovalov <andrey.konovalov@linaro.org> | 2013-04-11 16:44:26 +0400 |
---|---|---|
committer | Andrey Konovalov <andrey.konovalov@linaro.org> | 2013-04-11 16:44:26 +0400 |
commit | d2e7da5149679b501cdb4b8449bf15e7ae1c0bdb (patch) | |
tree | 58be4f6571dc47b1002d530f4bdea4e3b2316f0d | |
parent | f660fd6d1c8d45fdfe0ca1e2fa4ba3eb9fec3b4f (diff) | |
download | linaro-lsk-d2e7da5149679b501cdb4b8449bf15e7ae1c0bdb.tar.gz |
configs: Move CONFIG_PROVE_LOCKING from linaro-base.conf to debug.conftracking-core-configs-manifest-20130614.0tracking-core-configs-manifest-20130613.0tracking-core-configs-lsk-20130528.0tracking-core-configs-lsk-20130527.0tracking-core-configs-lsk-20130525.1tracking-core-configs-lsk-20130525.0tracking-core-configs-lsk-20130522.0tracking-core-configs-lsk-20130515.0tracking-core-configs-lsk-20130512.0v3.9/configs
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>
-rw-r--r-- | linaro/configs/debug.conf | 1 | ||||
-rw-r--r-- | linaro/configs/linaro-base.conf | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/linaro/configs/debug.conf b/linaro/configs/debug.conf new file mode 100644 index 00000000000..36980566b2d --- /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 1b4872b4529..5c748a75dfe 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 |