mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacmn: Relax spin lock abuse detection thresholds
Increase irq save spin lock abuse detection threshold to 10 ms and spin lock bh abuse detection threshold to 1 second such that very obvious spin lock abuse cases by WLAN driver are detected and fixed. Change-Id: I8ca751404dc05e3fc3b6aa5db8538cb98c710260 CRs-Fixed: 2047464
This commit is contained in:
parent
e7e6e37448
commit
a86e46fee9
1 changed files with 4 additions and 3 deletions
|
|
@ -51,9 +51,10 @@
|
|||
#define QDF_LOCK_STATS_LIST 0
|
||||
#endif
|
||||
|
||||
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK_IRQ 1000
|
||||
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK_BH 5000
|
||||
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK 5000
|
||||
/* Max hold time in micro seconds, 0 to disable detection*/
|
||||
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK_IRQ 10000
|
||||
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK_BH 1000000
|
||||
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK 0
|
||||
|
||||
#if !QDF_LOCK_STATS
|
||||
struct lock_stats {};
|
||||
|
|
|
|||
Loading…
Reference in a new issue