Function report |
Source Code:mm\page_idle.c |
Create Date:2022-07-28 16:34:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:page_idle_clear_pte_refs_one
Proto:static bool page_idle_clear_pte_refs_one(struct page *page, struct vm_area_struct *vma, unsigned long addr, void *arg)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
struct vm_area_struct * | vma | |
unsigned long | addr | |
void * | arg |
63 | bool referenced = false |
67 | If pte Then |
72 | If ptep_clear_young_notify(vma, addr, pte) Then referenced = true |
75 | If pmdp_clear_young_notify(vma, addr, pmd) Then referenced = true |
77 | Else |
79 | WARN_ON_ONCE(1) |
83 | If referenced Then |
84 | clear_page_idle(page) |
90 | set_page_young(page) |
92 | Return true |
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 |