函数逻辑报告 |
Source Code:mm\mempolicy.c |
Create Date:2022-07-27 17:03:51 |
Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:queue_pages_hugetlb
函数原型:static int queue_pages_hugetlb(pte_t *pte, unsigned long hmask, unsigned long addr, unsigned long end, struct mm_walk *walk)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
pte_t * | pte | |
unsigned long | hmask | |
unsigned long | addr | |
unsigned long | end | |
struct mm_walk * | walk |
567 | ptl等于huge_pte_lock(hstate_vma(vma), mm, pte) |
568 | entry等于huge_ptep_get(pte) |
569 | 如果非pte_present(entry)则转到:unlock |
572 | 如果非Check if the page's nid is in qp->nmask.* If MPOL_MF_INVERT is set in qp->flags, check if the nid is* in the invert of qp->nmask.则转到:unlock |
575 | 如果flags按位与Move every page to conform to policy 或flags按位与Move pages owned by this process to conformto policy 且page_mapcount(page)恒等于1则isolate_huge_page(page, pagelist) |
578 | unlock : |
579 | 自旋锁解锁 |
583 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |