函数逻辑报告 |
Source Code:mm\mempolicy.c |
Create Date:2022-07-27 17:03:48 |
Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Scan through pages checking if pages follow certain conditions,* and move them to the pagelist if they do
函数原型:static int queue_pages_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end, struct mm_walk *walk)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
pmd_t * | pmd | |
unsigned long | addr | |
unsigned long | end | |
struct mm_walk * | walk |
500 | bool has_unmovable = false |
505 | 如果ptl则 |
517 | 如果非pte_present( * pte)则继续下一循环 |
520 | 如果非page则继续下一循环 |
526 | 如果PageReserved(page)则继续下一循环 |
532 | 如果非Check if a vma is migratable 则 |
533 | has_unmovable = true |
534 | 退出 |
542 | 如果migrate_page_add(page, pagelist, flags)则has_unmovable = true |
544 | 否则退出 |
547 | pte_unmap_unlock(pte - 1, ptl) |
548 | cond_resched() |
550 | 如果has_unmovable则返回:1 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |