ipc: use highest coop priority for IPM workqueue
The priority of workqueue responsible for rpmsg processing was too low. Any cooperative task could cause rpmsg processing to be slightly delayed. Signed-off-by: Andrzej Kuroś <andrzej.kuros@nordicsemi.no>
This commit is contained in:
parent
ca10f8b0a0
commit
288f9c0b11
1 changed files with 1 additions and 6 deletions
|
@ -41,12 +41,7 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME, CONFIG_RPMSG_SERVICE_LOG_LEVEL);
|
|||
#define VRING_SIZE 16
|
||||
|
||||
#define IPM_WORK_QUEUE_STACK_SIZE CONFIG_RPMSG_SERVICE_WORK_QUEUE_STACK_SIZE
|
||||
|
||||
#if IS_ENABLED(CONFIG_COOP_ENABLED)
|
||||
#define IPM_WORK_QUEUE_PRIORITY -1
|
||||
#else
|
||||
#define IPM_WORK_QUEUE_PRIORITY 0
|
||||
#endif
|
||||
#define IPM_WORK_QUEUE_PRIORITY K_HIGHEST_APPLICATION_THREAD_PRIO
|
||||
|
||||
K_THREAD_STACK_DEFINE(ipm_stack_area, IPM_WORK_QUEUE_STACK_SIZE);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue