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

Commit 14433d5e authored by Deepak Kumar Singh's avatar Deepak Kumar Singh Committed by Pranav Mahesh Phansalkar
Browse files

soc: qcom: qmi_interface: allocate high priority work queue



Some qmi clients have low latency requirement. In high system load
there may be scheduling delay in work queue which can delay qmi packet
delivery to qmi clients.

Adding high priority flag while allocating qmi work queue.

Change-Id: I64ba90777d3337849113ae4163f997bb781fbd40
Signed-off-by: default avatarDeepak Kumar Singh <deesin@codeaurora.org>
parent cc3bd056
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -665,7 +665,7 @@ int qmi_handle_init(struct qmi_handle *qmi, size_t recv_buf_size,
	if (!qmi->recv_buf)
		return -ENOMEM;

	qmi->wq = alloc_workqueue("qmi_msg_handler", WQ_UNBOUND, 1);
	qmi->wq = alloc_workqueue("qmi_msg_handler", WQ_UNBOUND|WQ_HIGHPRI, 1);
	if (!qmi->wq) {
		ret = -ENOMEM;
		goto err_free_recv_buf;