函数逻辑报告 |
Source Code:mm\memory-failure.c |
Create Date:2022-07-27 17:53:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static void kill_procs(struct list_head *to_kill, int forcekill, bool fail, unsigned long pfn, int flags)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct list_head * | to_kill | |
int | forcekill | |
bool | fail | |
unsigned long | pfn | |
int | flags |
362 | 如果forcekill则 |
381 | 否则如果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小于0则打印错误信息("Memory failure: %#lx: Cannot send advisory machine check signal to %s:%d\n", pfn, 是否使用FPU, 进程ID) |
385 | put_task_struct(tsk) |
386 | 释放内存 |
名称 | 描述 |
---|---|
hwpoison_user_mappings | Do all that is necessary to remove user space mappings. Unmap* the pages and send SIGBUS to the processes if the data was dirty. |
memory_failure_dev_pagemap |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |