Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mm_inline.h Create Date:2022-07-28 14:08:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:update_lru_size

Proto:static __always_inline void update_lru_size(struct lruvec *lruvec, enum lru_list lru, enum zone_type zid, int nr_pages)

Type:void

Parameter:

TypeParameterName
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)
Caller
NameDescribe
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