From 8b1940167901bd97963c451cce9cba8e11897d71 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 29 Jan 2017 16:06:44 +0200 Subject: [PATCH] tests: Comment out CONFIG_DEBUG_KOBJECT_RELEASE from default config This kernel debugging option adds multiple seconds of extra latency to interface removal operations. While this can be worked around by increasing timeouts in number of test cases, there does not seem to be any clean way of working around this for PMKSA cacheching test with per-STA VIFs (e.g., pmksa_cache_preauth_vlan_used_per_sta_vif). To avoid unnecessary test failures, remove CONFIG_DEBUG_KOBJECT_RELEASE from the default config. If someone wants to test with this kernel debug option, it can be enabled for custom kernel builds while understanding that it can result in false failure reports and significantly extended time needed to complete full testing run. Signed-off-by: Jouni Malinen --- tests/hwsim/vm/kernel-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/vm/kernel-config b/tests/hwsim/vm/kernel-config index 1d089d90a..3c8cd2fc0 100644 --- a/tests/hwsim/vm/kernel-config +++ b/tests/hwsim/vm/kernel-config @@ -1952,7 +1952,7 @@ CONFIG_DEBUG_ATOMIC_SLEEP=y CONFIG_TRACE_IRQFLAGS=y CONFIG_STACKTRACE=y CONFIG_DEBUG_KOBJECT=y -CONFIG_DEBUG_KOBJECT_RELEASE=y +# CONFIG_DEBUG_KOBJECT_RELEASE is not set CONFIG_DEBUG_BUGVERBOSE=y CONFIG_DEBUG_LIST=y CONFIG_DEBUG_PI_LIST=y