diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2023-04-28 16:47:07 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2023-05-09 05:37:42 -1000 |
commit | 854f5cc5b7355ceebf2bdfed97ea8f3c5d47a0c3 (patch) | |
tree | fa9a3b2c95fc28c2a84b743dc450a7ff571fc207 /Documentation/core-api | |
parent | ba0ad6ed89fd5dada3b7b65ef2b08e95d449d4ab (diff) | |
download | lwn-854f5cc5b7355ceebf2bdfed97ea8f3c5d47a0c3.tar.gz lwn-854f5cc5b7355ceebf2bdfed97ea8f3c5d47a0c3.zip |
Further upgrade queue_work_on() comment
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@kernel.org>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/core-api')
0 files changed, 0 insertions, 0 deletions