函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\signal.h Create Date:2022-07-27 06:42:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:signal_wake_up

函数原型:static inline void signal_wake_up(struct task_struct *t, bool resume)

返回类型:void

参数:

类型参数名称
struct task_struct *t
boolresume
386  signal_wake_up_state(t, resume ? TASK_WAKEKILL : 0)
调用者
名称描述
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