From: Tejun Heo <tj@kernel.org>
To: Marco Crivellari <marco.crivellari@suse.com>
Cc: linux-kernel@vger.kernel.org,
Lai Jiangshan <jiangshanlai@gmail.com>,
Frederic Weisbecker <frederic@kernel.org>,
Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
Michal Hocko <mhocko@suse.com>, Breno Leitao <leitao@debian.org>
Subject: Re: [PATCH v2 1/2] workqueue: Make alloc_workqueue() unbound by default
Date: Thu, 03 Sep 2026 08:42:41 -1000 [thread overview]
Message-ID: <c02681b23c71737d9a84dea194b24691@kernel.org> (raw)
In-Reply-To: <20260903165251.481362-2-marco.crivellari@suse.com>
Hello, Marco.
On Thu, Sep 03, 2026 at 06:52:50PM +0200, Marco Crivellari wrote:
> + if (unlikely(!(flags & (WQ_UNBOUND | WQ_PERCPU)))) {
> + flags |= WQ_UNBOUND;
> + wq_unbound_by_default = true;
WQ_BH without WQ_PERCPU passes the __WQ_BH_ALLOWS check above and then gets
WQ_UNBOUND here, putting a BH workqueue on an unbound pool. WQ_BH should
imply WQ_PERCPU.
Thanks.
--
tejun
next prev parent reply other threads:[~2026-09-03 18:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-03 16:52 [PATCH v2 0/2] workqueue: Make WQ_UNBOUND the default behavior Marco Crivellari
2026-09-03 16:52 ` [PATCH v2 1/2] workqueue: Make alloc_workqueue() unbound by default Marco Crivellari
2026-09-03 18:42 ` Tejun Heo [this message]
2026-09-04 8:24 ` Marco Crivellari
2026-09-03 16:52 ` [PATCH v2 2/2] doc: Update WQ_UNBOUND documentation Marco Crivellari
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=c02681b23c71737d9a84dea194b24691@kernel.org \
--to=tj@kernel.org \
--cc=bigeasy@linutronix.de \
--cc=frederic@kernel.org \
--cc=jiangshanlai@gmail.com \
--cc=leitao@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marco.crivellari@suse.com \
--cc=mhocko@suse.com \
/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®