函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:update_lru_size

函数原型:static __always_inline void update_lru_size(struct lruvec *lruvec, enum lru_list lru, enum zone_type zid, int nr_pages)

返回类型:void

参数:

类型参数名称
struct lruvec *lruvec
enum lru_listlru
enum zone_typezid
intnr_pages
41  __update_lru_size(lruvec, lru, zid, nr_pages)
43  mem_cgroup_update_lru_size(lruvec, lru, zid, nr_pages)
调用者
名称描述
move_pages_to_lruThis moves pages from @list to corresponding LRU list.* We move them the other way if the page is referenced by one or more* processes, from rmap.* If the pages are mostly unmapped, the processing is fast and it is
add_page_to_lru_list
add_page_to_lru_list_tail
del_page_from_lru_list