From: Breno Leitao <leitao@debian.org>
To: Tejun Heo <tj@kernel.org>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>,
Marco Crivellari <marco.crivellari@suse.com>,
linux-kernel@vger.kernel.org, kernel-team@meta.com
Subject: Re: [PATCH wq/for-7.4 v2 3/3] workqueue: add a percpu_concurrency_managed workqueue attribute
Date: Tue, 29 Sep 2026 06:51:07 -0700 [thread overview]
Message-ID: <arusuF5mAEukjuJ0@gmail.com> (raw)
In-Reply-To: <1bcd7a71f382de147d7e26ee14f00ac7@kernel.org>
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
prev parent reply other threads:[~2026-09-29 13:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-25 13:09 [PATCH wq/for-7.4 v2 0/3] workqueue: Keep max_active and percpu_max_active in sync Breno Leitao
2026-09-25 13:09 ` [PATCH wq/for-7.4 v2 1/3] workqueue: Move the initial max_active setup into a helper Breno Leitao
2026-09-25 13:09 ` [PATCH wq/for-7.4 v2 2/3] workqueue: Keep the limits of both max_active domains current Breno Leitao
2026-09-28 20:15 ` Tejun Heo
2026-09-29 14:40 ` Breno Leitao
2026-09-25 13:09 ` [PATCH wq/for-7.4 v2 3/3] workqueue: add a percpu_concurrency_managed workqueue attribute Breno Leitao
2026-09-28 21:31 ` Tejun Heo
2026-09-29 13:51 ` Breno Leitao [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=arusuF5mAEukjuJ0@gmail.com \
--to=leitao@debian.org \
--cc=jiangshanlai@gmail.com \
--cc=kernel-team@meta.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marco.crivellari@suse.com \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®