| Function report | 
| Source Code: mm\swap.c | Create Date:2022-07-28 14:13:12 | 
| Last Modify:2022-05-23 13:40:24 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__activate_page
Proto:static void __activate_page(struct page *page, struct lruvec *lruvec, void *arg)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct page * | page | |
| struct lruvec * | lruvec | |
| void * | arg | 
| 278 | If PageLRU(page) && Not PageActive(page) && Not PageUnevictable(page) Then | 
| 280 | lru = page_lru_base_type - which LRU list type should a page be on?*@page: the page to test* Used for LRU list index arithmetic.* Returns the base LRU type - file or anon - @page should be on. | 
| 282 | del_page_from_lru_list(page, lruvec, lru) | 
| 283 | SetPageActive(page) | 
| 284 | lru += LRU_ACTIVE | 
| 285 | add_page_to_lru_list(page, lruvec, lru) | 
| 289 | update_page_reclaim_stat(lruvec, file, 1) | 
| Name | Describe | 
|---|---|
| activate_page | 
| 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 |