mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] workqueue: Simplify color management
@ 2025-11-25 10:31 Lai Jiangshan
  2025-11-25 10:31 ` [PATCH 1/2] workqueue: Use pwq->work_color for wq_barrier Lai Jiangshan
  2025-11-25 10:31 ` [PATCH 2/2] workqueue: Move flush color assignment code into insert_work() Lai Jiangshan
  0 siblings, 2 replies; 5+ messages in thread
From: Lai Jiangshan @ 2025-11-25 10:31 UTC (permalink / raw)
  To: linux-kernel; +Cc: Tejun Heo, Lai Jiangshan

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-12-03  3:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-25 10:31 [PATCH 0/2] workqueue: Simplify color management Lai Jiangshan
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

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®