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 <jshriram@codeaurora.org>
This commit is contained in:
Jeevan Shriram 2019-03-05 17:35:55 -08:00 committed by Gerrit - the friendly Code Review server
parent 711ee74655
commit 6cb4b55c73

View file

@ -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