Re: [syzbot] possible deadlock in worker_thread

From: Bart Van Assche
Date: Tue Feb 15 2022 - 12:05:49 EST


On 2/15/22 04:48, Tetsuo Handa wrote:
I do not want to do like

- system_wq = alloc_workqueue("events", 0, 0);
+ system_wq = alloc_workqueue("events", __WQ_SYSTEM_WIDE, 0);

because the intent of this change is to ask developers to create their own WQs.

I want more developers to use the system-wide workqueues since that reduces memory usage. That matters for embedded devices running Linux.

Thanks,

Bart.