函数逻辑报告

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
30  pgdat等于lruvec_pgdat(lruvec)
32  __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages)
33  We do not maintain differentials in a single processor configuration.* The functions directly modify the zone and global counters.
调用者
名称描述
update_lru_sizesUpdate LRU sizes after isolating pages. The LRU size updates must* be complete before mem_cgroup_update_lru_size due to a santity check.
update_lru_size