Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swap.c Create Date:2022-07-28 14:13:08
Last Modify:2022-05-23 13:40:24 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pagevec_move_tail_fn

Proto:static void pagevec_move_tail_fn(struct page *page, struct lruvec *lruvec, void *arg)

Type:void

Parameter:

TypeParameterName
struct page *page
struct lruvec *lruvec
void *arg
222  pgmoved = arg
224  If PageLRU(page) && Not PageUnevictable(page) Then
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++