| Function report | 
| Source Code: mm\huge_memory.c | Create Date:2022-07-28 16:01:22 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:huge_pmd_set_accessed
Proto:void huge_pmd_set_accessed(struct vm_fault *vmf, pmd_t orig_pmd)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| 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 | If Value for the false possibility is greater at compile time(!pmd_same( * Pointer to pmd entry matching* the 'address' , orig_pmd)) Then Go to unlock | 
| 1187 | entry = pmd_mkyoung(orig_pmd) | 
| 1188 | If write Then entry = pmd_mkdirty(entry) | 
| 1190 | haddr = Faulting virtual address & HPAGE_PMD_MASK | 
| 1194 | unlock : | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |