Function report |
Source Code:include\linux\sched.h |
Create Date:2022-07-28 05:59:42 |
| Last Modify:2021-07-28 10:30:23 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:s_global_init - check if a task structure is init. Since init* is free to have sub-threads we need to check tgid.*@tsk: Task structure to be checked.* Check if a task structure is the first user space task the kernel created.
Proto:static inline int is_global_init(struct task_struct *tsk)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tsk |
| 1454 | Return task_tgid_nr(tsk) == 1 |
| Name | Describe |
|---|---|
| will_become_orphaned_pgrp | Determine 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_task | rn true if the task is not adequate as candidate victim task. |
| __oom_kill_process | |
| oom_kill_memcg_member | Kill provided task unless it's secured by setting* oom_score_adj to OOM_SCORE_ADJ_MIN. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |