Re: [PATCH wq/for-7.4 v2 3/3] workqueue: add a percpu_concurrency_managed workqueue attribute

From: Breno Leitao

Date: Tue Sep 29 2026 - 09:54:30 EST


Hello Tejun,

On Mon, Sep 28, 2026 at 11:31:11AM -1000, Tejun Heo wrote:
> On Fri, Sep 25, 2026 at 06:09:52AM -0700, Breno Leitao wrote:
> > Introduce percpu_concurrency_managed, similar to the discussion in [1],
> > and use it when deciding to do concurrency management, instead of
> > relying on WQ_PERCPU (the only WQ type that does CM as of now).
>
> Once PERCPU is its own scope, the scope picks the backend, and concurrency
> management and the per-cpu max_active follow from that. Opting out of
> concurrency management on the per-cpu pools is what WQ_CPU_INTENSIVE already
> does, and I don't see a need to change that at runtime. How about dropping
> this patch for now?

Ack, I will continue to decide about concurrency management by looking
at the affinity scope other than a new knob.

Thanks for the review,
--breno