函数逻辑报告 |
Source Code:mm\memory-failure.c |
Create Date:2022-07-27 17:53:05 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:When a unknown page type is encountered drain as many buffers as possible* in the hope to turn the page into a LRU or free page, which we can handle.
函数原型:void shake_page(struct page *p, int access)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct page * | p | |
| int | access |
| 247 | lru_add_drain_all() |
| 251 | 如果PageLRU(p)或is_free_buddy_page(p)则返回 |
| 259 | 如果access则drop_slab_node(page_to_nid(p)) |
| 名称 | 描述 |
|---|---|
| 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 | memory_failure - Handle memory failure of a page.*@pfn: Page Number of the corrupted page*@flags: fine tune action taken* This function is called by the low level machine check code* of an architecture when it detects hardware memory corruption* of a page |
| get_any_page | |
| hwpoison_inject |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |