Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\signal.h Create Date:2022-07-28 05:40:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:signal_wake_up

Proto:static inline void signal_wake_up(struct task_struct *t, bool resume)

Type:void

Parameter:

TypeParameterName
struct task_struct *t
boolresume
386  signal_wake_up_state(t, resume ? TASK_WAKEKILL : 0)
Caller
NameDescribe
recalc_sigpending_and_wakeAfter recalculating TIF_SIGPENDING, we need to make sure the task wakes up.* This is superfluous when called on current, the wakeup is a harmless no-op.
complete_signal
zap_other_threadsNuke all other threads in the group.
do_signal_stopdo_signal_stop - handle group stop for SIGSTOP and other stop signals*@signr: signr causing group stop if initiating* If %JOBCTL_STOP_PENDING is not set yet, initiate group stop with @signr* and participate in it
retarget_shared_pendingIt could be that complete_signal() picked us to notify about the* group-wide signal. Other threads should be notified now to take* the shared signals in @which since we will not.
klp_send_signalsSends a fake signal to all non-kthread tasks with TIF_PATCH_PENDING set.* Kthreads with TIF_PATCH_PENDING set are woken up.
fake_signal_wake_up
cgroup_freeze_taskFreeze or unfreeze the task by setting or clearing the JOBCTL_TRAP_FREEZE* jobctl bit.
zap_process