[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZFpo1OA7hnRaVrgx@slm.duckdns.org>
Date: Tue, 9 May 2023 05:37:56 -1000
From: Tejun Heo <tj@...nel.org>
To: "Paul E. McKenney" <paulmck@...nel.org>
Cc: jiangshanlai@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH workqueues] Further upgrade queue_work_on() comment
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@...nel.org>
> Cc: Lai Jiangshan <jiangshanlai@...il.com>
> Cc: Tejun Heo <tj@...nel.org>
Applied to wq/for-6.5.
Thanks.
--
tejun
Powered by blists - more mailing lists