函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched.h Create Date:2022-07-27 06:58:33
Last Modify:2021-07-28 10:30:23 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:检查进程已初始化

函数原型:static inline int is_global_init(struct task_struct *tsk)

返回类型:int

参数:

类型参数名称
struct task_struct *tsk
1454  返回:task_tgid_nr(tsk)恒等于1
调用者
名称描述
will_become_orphaned_pgrpDetermine if a process group is "orphaned", according to the POSIX* definition in 2
do_exit
sig_task_ignored
unhandled_signal
kexec_should_crash
oom_unkillable_taskrn true if the task is not adequate as candidate victim task.
__oom_kill_process
oom_kill_memcg_memberKill provided task unless it's secured by setting* oom_score_adj to OOM_SCORE_ADJ_MIN.