Function report |
Source Code:mm\vmscan.c |
Create Date:2022-07-28 14:17:40 |
Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:page_check_references
Proto:static enum page_references page_check_references(struct page *page, struct scan_control *sc)
Type:enum page_references
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
struct scan_control * | sc |
1009 | If vm_flags & VM_LOCKED Then Return PAGEREF_RECLAIM |
1012 | If referenced_ptes Then |
1013 | If PageSwapBacked(page) Then Return PAGEREF_ACTIVATE |
1029 | SetPageReferenced(page) |
1031 | If referenced_page || referenced_ptes > 1 Then Return PAGEREF_ACTIVATE |
1037 | If vm_flags & VM_EXEC Then Return PAGEREF_ACTIVATE |
1040 | Return PAGEREF_KEEP |
1044 | If referenced_page && Not PageSwapBacked(page) Then Return PAGEREF_RECLAIM_CLEAN |
1047 | Return PAGEREF_RECLAIM |
Name | Describe |
---|---|
shrink_page_list | shrink_page_list() returns the number of reclaimed pages |
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 |