Function report |
Source Code:mm\swap.c |
Create Date:2022-07-28 14:13:42 |
Last Modify:2022-05-23 13:40:24 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__pagevec_lru_add_fn
Proto:static void __pagevec_lru_add_fn(struct page *page, struct lruvec *lruvec, void *arg)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
struct lruvec * | lruvec | |
void * | arg |
930 | VM_BUG_ON_PAGE(PageLRU(page), page) |
932 | SetPageLRU(page) |
959 | smp_mb() |
961 | If page_evictable(page) Then |
962 | lru = page_lru - which LRU list should a page be on?*@page: the page to test* Returns the LRU list a page should be on, as an index* into the array of LRU lists. |
965 | If was_unevictable Then Disable counters |
967 | Else |
968 | lru = LRU_UNEVICTABLE |
969 | ClearPageActive(page) |
970 | SetPageUnevictable(page) |
971 | If Not was_unevictable Then Disable counters |
975 | add_page_to_lru_list(page, lruvec, lru) |
976 | trace_mm_lru_insertion(page, lru) |
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 |