函数逻辑报告 |
Source Code:mm\page_isolation.c |
Create Date:2022-07-27 17:59:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:start_isolate_page_range() - make page-allocation-type of range of pages to* be MIGRATE_ISOLATE.*@start_pfn: The lower PFN of the range to be isolated.*@end_pfn: The upper PFN of the range to be isolated.
函数原型:int start_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn, unsigned migratetype, int flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | start_pfn | |
unsigned long | end_pfn | |
unsigned | migratetype | |
int | flags |
200 | nr_isolate_pageblock等于0 |
202 | BUG_ON(!IS_ALIGNED(start_pfn, pageblock_nr_pages)) |
203 | BUG_ON(!IS_ALIGNED(end_pfn, pageblock_nr_pages)) |
209 | 如果page则 |
210 | 如果set_migratetype_isolate(page, migratetype, flags)则 |
214 | nr_isolate_pageblock自加 |
217 | 返回:nr_isolate_pageblock |
218 | undo : |
223 | 如果非page则继续下一循环 |
228 | 返回:负EBUSY |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |