Re: [PATCH workqueues] Further upgrade queue_work_on() comment

From: Tejun Heo
Date: Tue May 09 2023 - 11:38:05 EST


On Fri, Apr 28, 2023 at 04:47:07PM -0700, Paul E. McKenney wrote:
> The current queue_work_on() docbook comment says that the caller must
> ensure that the specified CPU can't go away, and further says that the
> penalty for failing to nail down the specified CPU is that the workqueue
> handler might find itself executing on some other CPU. This is true
> as far as it goes, but fails to note what happens if the specified CPU
> never was online. Therefore, further expand this comment to say that
> specifying a CPU that was never online will result in a splat.
>
> Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
> Cc: Lai Jiangshan <jiangshanlai@xxxxxxxxx>
> Cc: Tejun Heo <tj@xxxxxxxxxx>

Applied to wq/for-6.5.

Thanks.

--
tejun