函数逻辑报告 |
Source Code:mm\huge_memory.c |
Create Date:2022-07-27 17:35:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:huge_pmd_set_accessed
函数原型:void huge_pmd_set_accessed(struct vm_fault *vmf, pmd_t orig_pmd)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_fault * | vmf | |
pmd_t | orig_pmd |
1183 | Page table lock.* Protects pte page table if 'pte'* is not NULL, otherwise pmd.等于pmd_lock(The address space we belong to. , Pointer to pmd entry matching* the 'address' ) |
1184 | 如果此条件成立可能性小(为编译器优化)(!pmd_same( * Pointer to pmd entry matching* the 'address' , orig_pmd))则转到:unlock |
1187 | entry等于pmd_mkyoung(orig_pmd) |
1188 | 如果write则entry等于pmd_mkdirty(entry) |
1190 | haddr等于Faulting virtual address 按位与HPAGE_PMD_MASK |
1194 | unlock : |
1195 | 自旋锁解锁 |
名称 | 描述 |
---|---|
__handle_mm_fault | By the time we get here, we already hold the mm semaphore* The mmap_sem may have been released depending on flags and our* return value. See filemap_fault() and __lock_page_or_retry(). |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |