qcacmn: Reduce the number of scheduler message buffers for WIN
Reduced the number of scheduler message buffers for WIN to 2k from 4k since WIN is only using 2 scheduler queues. Changed the order of two members of scheduler messgae structure to avoid additional padding on 64bit platform. Change-Id: Ic74d60878867c45413bc4fbd5c56feb4dd421699 CRs-Fixed: 2157621
This commit is contained in:
@@ -62,12 +62,12 @@ typedef enum {
|
||||
* struct scheduler_msg: scheduler message structure
|
||||
* @type: message type
|
||||
* @reserved: reserved field
|
||||
* @bodyval: message body val
|
||||
* @bodyptr: message body pointer based on the type either a bodyptr pointer
|
||||
* into memory or bodyval as a 32 bit data is used. bodyptr is always a
|
||||
* freeable pointer, one should always make sure that bodyptr is always
|
||||
* freeable.
|
||||
* Messages should use either bodyptr or bodyval; not both !!!
|
||||
* @bodyval: message body val
|
||||
* @callback: callback to be called by scheduler thread once message is posted
|
||||
* and scheduler thread has started processing the message.
|
||||
* @flush_callback: flush callback which will be invoked during driver unload
|
||||
@@ -79,8 +79,8 @@ typedef enum {
|
||||
struct scheduler_msg {
|
||||
uint16_t type;
|
||||
uint16_t reserved;
|
||||
void *bodyptr;
|
||||
uint32_t bodyval;
|
||||
void *bodyptr;
|
||||
void *callback;
|
||||
void *flush_callback;
|
||||
};
|
||||
|
Reference in New Issue
Block a user