From: Lai Jiangshan <jiangshanlai@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Tejun Heo <tj@kernel.org>, Lai Jiangshan <jiangshan.ljs@antgroup.com>
Subject: [PATCH 0/2] workqueue: Simplify color management
Date: Tue, 25 Nov 2025 18:31:23 +0800 [thread overview]
Message-ID: <20251125103126.684929-1-jiangshanlai@gmail.com> (raw)
From: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Use pwq->work_color for wq_barrier which also makes all work items use
pwq->work_color as its color and move the common code into insert_work().
Lai Jiangshan (2):
workqueue: Use pwq->work_color for wq_barrier
workqueue: Move flush color assignment code into insert_work()
kernel/workqueue.c | 20 +++++---------------
kernel/workqueue_internal.h | 1 -
2 files changed, 5 insertions(+), 16 deletions(-)
--
2.19.1.6.gb485710b
next reply other threads:[~2025-11-25 10:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-25 10:31 Lai Jiangshan [this message]
2025-11-25 10:31 ` [PATCH 1/2] workqueue: Use pwq->work_color for wq_barrier Lai Jiangshan
2025-12-02 17:37 ` Tejun Heo
2025-12-03 3:48 ` Lai Jiangshan
2025-11-25 10:31 ` [PATCH 2/2] workqueue: Move flush color assignment code into insert_work() Lai Jiangshan
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=20251125103126.684929-1-jiangshanlai@gmail.com \
--to=jiangshanlai@gmail.com \
--cc=jiangshan.ljs@antgroup.com \
--cc=linux-kernel@vger.kernel.org \
--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®