Re: [PATCH 1/1] module: replace use of system_wq with system_percpu_wq
From: Marco Crivellari
Date: Tue Sep 09 2025 - 11:04:17 EST
On Tue, Sep 9, 2025 at 12:37 PM Petr Pavlu <petr.pavlu@xxxxxxxx> wrote:
Hi Petr,
> If I understand the cover letter and its linked discussion correctly,
> the aim is to eventually move users to unbound workqueues unless they
> really need to use per-CPU workqueues.
Yes, correct. This first round is just a 1:1 conversion keeping the
old behavior.
But later yes, the aim is to let per-cpu just who needs to be per-cpu.
> The two work items queued by the dups.c code can run anywhere. I don't
> see a reason why they need to be bound to a specific CPU.
> If it helps, I believe you can already update this code to use the new
> system_dfl_wq.
Cool, I will send the v2 converting directly from system_wq to system_dfl_wq.
Thank you!
--
Marco Crivellari
L3 Support Engineer, Technology & Product
marco.crivellari@xxxxxxxx