From: Joe Perches <joe@perches.com>
To: Marco Crivellari <marco.crivellari@suse.com>
Cc: linux-kernel@vger.kernel.org, Andy Whitcroft <apw@canonical.com>,
Dwaipayan Ray <dwaipayanray1@gmail.com>,
Lukas Bulwahn <lukas.bulwahn@gmail.com>,
Tejun Heo <tj@kernel.org>,
Frederic Weisbecker <frederic@kernel.org>,
Michal Hocko <mhocko@suse.com>, Breno Leitao <leitao@debian.org>
Subject: Re: [PATCH] checkpatch: Check WQ_PERCPU or WQ_UNBOUND presence in alloc_workqueue() users
Date: Thu, 04 Jun 2026 07:09:24 -0700 [thread overview]
Message-ID: <70c0c5d5e05363d4643cd1916750e03212ca761e.camel@perches.com> (raw)
In-Reply-To: <CAAofZF6yAQo1LKhjVfLw-UuO56obx8_XuBHDjdm35vvLP22g_w@mail.gmail.com>
On Thu, 2026-06-04 at 11:31 +0200, Marco Crivellari wrote:
> On Thu, Jun 4, 2026 at 7:08 AM Joe Perches <[joe@perches.com](mailto:joe@perches.com)> wrote:
> [...]
> > OK but a couple comments:
> >
> > Add devm_alloc_workqueue as well?
>
> No I don't think it would be useful / needed. There is only 1 user of
> that macro, devm_alloc_ordered_workqueue(), which already specifies
> the WQ_UNBOUND flag and it is part of the workqueue code.
drivers/power/supply/ipaq_micro_battery.c: mb->wq = devm_alloc_workqueue(&pdev->dev, "ipaq-battery-wq",
Maybe there will be more.
next prev parent reply other threads:[~2026-06-04 14:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-03 14:09 Marco Crivellari
2026-06-04 5:08 ` Joe Perches
2026-06-04 9:31 ` Marco Crivellari
2026-06-04 14:09 ` Joe Perches [this message]
2026-06-04 14:18 ` 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=70c0c5d5e05363d4643cd1916750e03212ca761e.camel@perches.com \
--to=joe@perches.com \
--cc=apw@canonical.com \
--cc=dwaipayanray1@gmail.com \
--cc=frederic@kernel.org \
--cc=leitao@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lukas.bulwahn@gmail.com \
--cc=marco.crivellari@suse.com \
--cc=mhocko@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®