函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mm_inline.h Create Date:2022-07-27 15:31:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:add_page_to_lru_list_tail

函数原型:static __always_inline void add_page_to_lru_list_tail(struct page *page, struct lruvec *lruvec, enum lru_list lru)

返回类型:void

参数:

类型参数名称
struct page *page
struct lruvec *lruvec
enum lru_listlru
57  update_lru_size(lruvec, lru, page_zonenum(page), hpage_nr_pages(page))
58  添加链表项
调用者
名称描述
pagevec_move_tail_fn
lru_deactivate_file_fnIf the page can not be invalidated, it is moved to the* inactive list to speed up its reclaim. It is moved to the* head of the list, rather than the tail, to give the flusher* threads some time to write it out, as this is much more
lru_add_page_tailsed by __split_huge_page_refcount()