Re: [PATCH 3/7] workqueue: Remove outdated comment about exceptional workers in unbind_workers()

From: Tejun Heo
Date: Thu Dec 09 2021 - 17:16:36 EST


On Tue, Dec 07, 2021 at 03:35:39PM +0800, Lai Jiangshan wrote:
> From: Lai Jiangshan <laijs@xxxxxxxxxxxxxxxxx>
>
> Long time before, workers are not ALL bound after CPU_ONLINE, they can
> still be running in other CPUs before self rebinding.
>
> But the commit a9ab775bcadf ("workqueue: directly restore CPU affinity
> of workers from CPU_ONLINE") makes rebind_workers() bind them all.
>
> So all workers are on the CPU before the CPU is down.
>
> And the comment in unbind_workers() refers to the workers "which are
> still executing works from before the last CPU down" is outdated.
> Just removed it.
>
> Signed-off-by: Lai Jiangshan <laijs@xxxxxxxxxxxxxxxxx>

Applied 1-3 to wq/for-5.17.

Thanks.

--
tejun