Function report |
Source Code:mm\vmscan.c |
Create Date:2022-07-28 14:18:40 |
Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:reclaim_pages
Proto:unsigned long reclaim_pages(struct list_head *page_list)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct list_head * | page_list |
2113 | nid = -1 |
2114 | nr_reclaimed = 0 |
2115 | LIST_HEAD(node_page_list) |
2127 | page = lru_to_page(page_list) |
2128 | If nid == -1 Then |
2129 | nid = page_to_nid(page) |
2133 | If nid == page_to_nid(page) Then |
2134 | ClearPageActive(page) |
2136 | Continue |
2144 | page = lru_to_page( & node_page_list) |
2149 | nid = -1 |
2152 | If Not list_empty - tests whether a list is empty*@head: the list to test. Then |
2158 | page = lru_to_page( & node_page_list) |
2164 | Return nr_reclaimed |
Name | Describe |
---|---|
madvise_cold_or_pageout_pte_range |
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 |