ipc: apr_vm: change the priority of apr_vm_cb_threa

When the CPU is very busy, the APR message may timeout
due to other high-priority threads blocking. Increase
the priority of apr_vm_cb_thread from 1 to 3 to unblock.

Change-Id: I11be527b270e55dccafa67ed4c7b8b25799b8542
Signed-off-by: Hongtao Peng <hongtaop@codeaurora.org>
This commit is contained in:
Hongtao Peng 2021-09-29 15:51:35 +08:00
commit 862d75d7fa

View file

@ -585,7 +585,7 @@ static int apr_vm_cb_thread(void *data)
unsigned long delay = jiffies + (HZ / 2);
int status = 0;
int ret = 0;
struct sched_param param = {.sched_priority = 1};
struct sched_param param = {.sched_priority = 3};
sched_setscheduler(current, SCHED_FIFO, &param);