From 6cb4b55c73be7247e83cc72454e4f8fdcec6eb3b Mon Sep 17 00:00:00 2001 From: Jeevan Shriram Date: Tue, 5 Mar 2019 17:35:55 -0800 Subject: [PATCH] lib/Kconfig: Do not select WW_MUTEX_SLOWPATH with PROVE_LOCKING WW_MUTEX_SLOWPATH injects a deadlock defined with inject countdown which have performace impacts. Few frameworks like DRM has recovery mechanism when a deadlock is observed, which releases all the locks and tries to re-aquire them causing delay in displaying a frame onto the screen. Change-Id: I60c647c33baf8bb35e9815400b06ad57e3a71dd7 Signed-off-by: Jeevan Shriram --- lib/Kconfig.debug | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 3eba25469545..2cf6663eb7aa 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1114,7 +1114,6 @@ config PROVE_LOCKING select DEBUG_MUTEXES select DEBUG_RT_MUTEXES if RT_MUTEXES select DEBUG_RWSEMS if RWSEM_SPIN_ON_OWNER - select DEBUG_WW_MUTEX_SLOWPATH select DEBUG_LOCK_ALLOC select TRACE_IRQFLAGS default n