mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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:
parent
997c13ca29
commit
862d75d7fa
1 changed files with 1 additions and 1 deletions
|
|
@ -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, ¶m);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue