From: Tejun Heo <tj@kernel.org>
To: Yuanhan Zhang <zyhtheonly@gmail.com>
Cc: jiangshanlai@gmail.com, linux-kernel@vger.kernel.org,
pmladek@suse.com, zyhtheonly@yeah.net, zwp10758@gmail.com,
tiozhang@didiglobal.com, fuyuanli@didiglobal.com
Subject: Re: [PATCH] workqueue: introduce queue_work_cpumask to queue work onto a given cpumask
Date: Wed, 21 Jun 2023 11:32:21 -1000 [thread overview]
Message-ID: <ZJNsZUxXFUuG34Dw@slm.duckdns.org> (raw)
In-Reply-To: <CAEQmJ=geNmoOk37w=owwkpvL6-FgDfzaPhCTPNcKiFtL0pv4hg@mail.gmail.com>
Hello,
On Tue, Jun 13, 2023 at 06:25:44PM +0800, Yuanhan Zhang wrote:
> If I have several kinds of works, and I'd like to make them run on
> different cpusets
> (so it is not ideal to put them on WQ_UNBOUND).
So, you can achieve that by creating a workqueue for each group of work
items. Each workqueue is just a front-end to shared pools of workers and
groups work items according to their attributes and flush grouping needs,
which is what you're asking for here.
Thanks.
--
tejun
prev parent reply other threads:[~2023-06-21 21:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-06 9:31 Tio Zhang
2023-06-08 6:33 ` Lai Jiangshan
2023-06-08 22:52 ` Tejun Heo
[not found] ` <CAEQmJ=gLCzoxUR9Eas+w9=bV7Tg5SZNb+TufanNXnPxR8cn5iQ@mail.gmail.com>
2023-06-09 6:23 ` Yuanhan Zhang
2023-06-09 6:28 ` Yuanhan Zhang
2023-06-12 17:54 ` Tejun Heo
2023-06-13 10:25 ` Yuanhan Zhang
2023-06-21 21:32 ` Tejun Heo [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=ZJNsZUxXFUuG34Dw@slm.duckdns.org \
--to=tj@kernel.org \
--cc=fuyuanli@didiglobal.com \
--cc=jiangshanlai@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pmladek@suse.com \
--cc=tiozhang@didiglobal.com \
--cc=zwp10758@gmail.com \
--cc=zyhtheonly@gmail.com \
--cc=zyhtheonly@yeah.net \
/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®