函数逻辑报告 |
Source Code:mm\memory-failure.c |
Create Date:2022-07-27 17:53:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Send all the processes who have the page mapped a signal.* ``action optional'' if they are not immediately affected by the error* ``action required'' if error happened in current execution context
函数原型:static int kill_proc(struct to_kill *tk, unsigned long pfn, int flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct to_kill * | tk | |
unsigned long | pfn | |
int | flags |
212 | addr_lsb等于size_shift |
215 | 打印错误信息("Memory failure: %#lx: Sending SIGBUS to %s:%d due to hardware memory corruption\n", pfn, comm, pid) |
218 | 如果flags按位与MF_ACTION_REQUIRED且mm恒等于mm则 |
221 | 否则 |
234 | 返回:ret |
名称 | 描述 |
---|---|
kill_procs | Kill the processes that have been collected earlier.* Only do anything when DOIT is set, otherwise just free the list* (this is used for clean pages which do not need killing)* Also when FAIL is set do a force kill because something went* wrong earlier. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |