qcacmn: Add changes to detect if scheduler thread is stuck
Scheduler thread can get stuck because of many reasons like mutex deadlock, resource starvation etc. Add changes to detect if scheduler thread is stuck. Change-Id: Ib9d4e3b240077464b3a51ab6be6af728cb845bfe CRs-Fixed: 1107636
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2016 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
@@ -33,6 +33,7 @@
|
||||
|
||||
#define SCHEDULER_CORE_MAX_MESSAGES 8000
|
||||
#define SCHEDULER_NUMBER_OF_MSG_QUEUE 5
|
||||
#define SCHEDULER_WRAPPER_MAX_FAIL_COUNT (SCHEDULER_CORE_MAX_MESSAGES * 3)
|
||||
|
||||
/**
|
||||
* struct scheduler_mq_type - scheduler message queue
|
||||
|
Reference in New Issue
Block a user