Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 862d75d7 authored by Hongtao Peng's avatar Hongtao Peng
Browse files

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: default avatarHongtao Peng <hongtaop@codeaurora.org>
parent 997c13ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);