Re: [PATCH 1/2] workqueue: Use pwq->work_color for wq_barrier

From: Lai Jiangshan
Date: Tue Dec 02 2025 - 22:48:48 EST


Hello, Tejun,

On Wed, Dec 3, 2025 at 1:37 AM Tejun Heo <tj@xxxxxxxxxx> wrote:
> "oh
> yeah, no new work items and all barriers match the target work items, so
> flushing should wait for the whole thing".

This is only true after commit d812796eb390 ("workqueue: Assign
a color to barrier work items") is applied.

Users should not depend on this behavior; if they do, their code
is already fragile.

Anyway, I’ll withdraw this patchset.

Thanks
Lai