Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\stop_machine.c Create Date:2022-07-28 11:20:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:signal completion unless @done is NULL

Proto:static void cpu_stop_signal_done(struct cpu_stop_done *done)

Type:void

Parameter:

TypeParameterName
struct cpu_stop_done *done
64  If atomic_dec_and_test( & r left to execute ) Then mplete: - signals a single thread waiting on this completion*@x: holds the state of this particular completion* This will wake up a single thread waiting on this completion. Threads will be* awakened in the same order in which they were queued.
Caller
NameDescribe
cpu_stop_queue_workqueue @work to @stopper. if offline, @work is completed immediately
cpu_stopper_thread