Function report |
Source Code:mm\swap.c |
Create Date:2022-07-28 14:13:31 |
Last Modify:2022-05-23 13:40:24 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mark_page_lazyfree - make an anon page lazyfree*@page: page to deactivate* mark_page_lazyfree() moves @page to the inactive file list.* This is done to accelerate the reclaim of @page.
Proto:void mark_page_lazyfree(struct page *page)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page |
681 | If PageLRU(page) && PageAnon(page) && PageSwapBacked(page) && Not PageSwapCache(page) && Not PageUnevictable(page) Then |
683 | pvec = Must be an lvalue. Since @var must be a simple identifier,* we force a syntax error here if it isn't.(lru_lazyfree_pvecs) |
686 | If Not Add a page to a pagevec. Returns the number of slots still available. || PageCompound(page) Then pagevec_lru_move_fn(pvec, lru_lazyfree_fn, NULL) |
Name | Describe |
---|---|
madvise_free_pte_range | |
madvise_free_huge_pmd | Return true if we do MADV_FREE successfully on entire pmd page.* Otherwise, return false. |
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 |