qcacmn: Increase SPINLOCK_IRQ max hold time for Hypervisor system
In hypervisor system, lock may hold too long due to context switches and system calls at host which is leading to stolen time. Sometimes this delay will be larger than 100 ms. To address this issue, it needs to increase irq save spin lock detection threshold to 100+ ms for hypervisor system. Change-Id: I6ea11b96e786c7f45bc84b29e0315e690552569f CRs-Fixed: 3125904
This commit is contained in:
@@ -44,7 +44,11 @@
|
||||
#endif
|
||||
|
||||
/* Max hold time in micro seconds, 0 to disable detection*/
|
||||
#ifdef VCPU_TIMESTOLEN
|
||||
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK_IRQ 400000
|
||||
#else
|
||||
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK_IRQ 10000
|
||||
#endif
|
||||
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK 0
|
||||
|
||||
#if QDF_LOCK_STATS
|
||||
|
Reference in New Issue
Block a user