Messages in this thread | | | Date | Mon, 27 Jul 2020 12:49:42 -0700 (PDT) | Subject | Re: [PATCH] soc: qmi: allow user to set handle wq to hiprio | From | David Miller <> |
| |
From: 王文虎 <wenhu.wang@vivo.com> Date: Mon, 27 Jul 2020 23:03:16 +0800 (GMT+08:00)
> Currently the qmi_handle is initialized single threaded and strictly > ordered with the active set to 1. This is pretty simple and safe but > sometimes ineffency. So it is better to allow user to decide whether > a high priority workqueue should be used. > > Signed-off-by: Wang Wenhu <wenhu.wang@vivo.com>
Every caller sets the new value to "0", so you should submit this when you have a cast that actually sets it to "1".
Also, the new argument should be "bool" instead of "unsigned int" and use "true" and "false" in the callers.
Thank you.
| |