函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__mod_lruvec_page_state

函数原型:static inline void __mod_lruvec_page_state(struct page *page, enum node_stat_item idx, int val)

返回类型:void

参数:

类型参数名称
struct page *page
enum node_stat_itemidx
intval
712  pgdat等于page_pgdat(page)
716  如果非mem_cgroup
717  __mod_node_page_state(pgdat, idx, val)
718  返回
721  lruvec等于mem_cgroup_lruvec - get the lru list vector for a memcg & node*@memcg: memcg of the wanted lruvec* Returns the lru list vector holding pages for a given @memcg &*@node combination. This can be the node lruvec, if the memory* controller is disabled.
722  __mod_lruvec_state - update lruvec memory statistics*@lruvec: the lruvec*@idx: the stat item*@val: delta to add to the counter, can be negative* The lruvec is the intersection of the NUMA node and a cgroup
调用者
名称描述
page_add_file_rmappage_add_file_rmap - add pte mapping to a file page*@page: the page to add the mapping to*@compound: charge the page as compound or small page* The caller needs to hold the pte lock.
page_remove_file_rmap
mod_lruvec_page_state
__inc_lruvec_page_state
__dec_lruvec_page_state