函数逻辑报告 |
Source Code:mm\memory-failure.c |
Create Date:2022-07-27 17:53:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Determine whether a given process is "early kill" process which expects* to be signaled when some page under the process is hwpoisoned.* Return task_struct of the dedicated thread (main thread unless explicitly
函数原型:static struct task_struct *task_early_kill(struct task_struct *tsk, int force_early)
返回类型:struct task_struct
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | tsk | |
| int | force_early |
| 418 | 如果非内存信息则返回:NULL |
| 420 | 如果force_early则返回:tsk |
| 422 | t等于Find a dedicated thread which is supposed to handle SIGBUS(BUS_MCEERR_AO)* on behalf of the thread group |
| 425 | 如果sysctl_memory_failure_early_kill则返回:tsk |
| 427 | 返回:NULL |
| 名称 | 描述 |
|---|---|
| collect_procs_anon | Collect processes when the error hit an anonymous page. |
| collect_procs_file | Collect processes when the error hit a file mapped page. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |