函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swap.c Create Date:2022-07-27 15:36:52
Last Modify:2022-05-23 13:40:24 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pagevec_move_tail_fn

函数原型:static void pagevec_move_tail_fn(struct page *page, struct lruvec *lruvec, void *arg)

返回类型:void

参数:

类型参数名称
struct page *page
struct lruvec *lruvec
void *arg
222  pgmoved等于arg
224  如果PageLRU(page)且非PageUnevictable(page)则
225  del_page_from_lru_list(page, lruvec, 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.)
226  ClearPageActive(page)
227  add_page_to_lru_list_tail(page, lruvec, 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.)
228  pgmoved自加