函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-27 10:16:42
Last Modify:2020-03-17 13:28:47 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:do_freezer_trap - handle the freezer jobctl trap* Puts the task into frozen state, if only the task is not about to quit.* In this case it drops JOBCTL_TRAP_FREEZE.* CONTEXT:* Must be called with @current->sighand->siglock held,

函数原型:static void do_freezer_trap(void)__releases(&get_current()->sighand->siglock)

返回类型:void

参数:

2454  如果jobctl按位与JOBCTL_PENDING_MASK按位或JOBCTL_TRAP_FREEZE的值的值不等于JOBCTL_TRAP_FREEZE
2456  spin_unlock_irq( & siglock)
2457  返回
2466  set_current_state() includes a barrier so that the write of current->state* is correctly serialised wrt the caller's subsequent test of whether to* actually sleep:* for (;;) {* set_current_state(TASK_UNINTERRUPTIBLE);* if (!need_sleep)* break;* (睡眠态)
2467  clear_thread_flag(signal pending )
2468  spin_unlock_irq( & siglock)
2469  cgroup_enter_frozen()
2470  freezable_schedule()
调用者
名称描述
get_signal