函数逻辑报告 |
Source Code:mm\memory-failure.c |
Create Date:2022-07-27 17:54:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:soft_offline_in_use_page
函数原型:static int soft_offline_in_use_page(struct page *page, int flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
int | flags |
1812 | hpage等于compound_head(page) |
1816 | 如果非PageAnon(page)或此条件成立可能性小(为编译器优化)(split_huge_page(page))则 |
1818 | 如果非PageAnon(page)则打印信息("soft offline: %#lx: non anonymous thp\n", page_to_pfn(page)) |
1820 | 否则打印信息("soft offline: %#lx: thp split failed\n", page_to_pfn(page)) |
1822 | put_hwpoison_page(page) |
1823 | 返回:负EBUSY |
1835 | mt等于get_pageblock_migratetype(page) |
1839 | 否则ret等于__soft_offline_page(page, flags) |
1841 | set_pageblock_migratetype(page, mt) |
1842 | 返回:ret |
名称 | 描述 |
---|---|
soft_offline_page | soft_offline_page - Soft offline a page.*@pfn: pfn to soft-offline*@flags: flags. Same as memory_failure().* Returns 0 on success, otherwise negated errno.* Soft offline a page, by migration or invalidation,* without killing anything |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |