Re: [PATCH 09/10] staging: wfx: ensure HIF request has been sent before polling

Jérôme Pouiller
2022-04-13T15:19:12Z

On Tuesday 12 April 2022 15:11:53 CEST Tetsuo Handa wrote:
> Hello.
>
> I found that commit c86176d51340d5ee ("staging: wfx: ensure HIF request has
> been sent before polling") started using flush_workqueue(system_highpri_wq).
>
> But please avoid flushing system-wide workqueues, for
> flushing system-wide workqueues is dangerous and will be forbidden.
>
> Link: https://lkml.kernel.org/r/49925af7-78a8-a3dd-bce6-cfc02e1a9236@I-love.SAKURA.ne.jp
>
>

There is a workqueue provided by mac80211. But I am not sure it can
replace the system-wide workqueue.

I guess I need to declare a new workqueue. Give me a couple of weeks to
prepare a patch.

--
Jérôme Pouiller