diff --git a/ipc/apr_vm.c b/ipc/apr_vm.c index 81eb38e2c30a..f8e2b588a703 100644 --- a/ipc/apr_vm.c +++ b/ipc/apr_vm.c @@ -31,6 +31,7 @@ #include #include #include +#include #define APR_PKT_IPC_LOG_PAGE_CNT 2 #define APR_VM_CB_THREAD_NAME "apr_vm_cb_thread" @@ -587,6 +588,9 @@ 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}; + + sched_setscheduler(current, SCHED_FIFO, ¶m); while (1) { do {