函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmscan.c Create Date:2022-07-27 15:43:19
Last Modify:2022-05-23 13:41:30 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:snapshot_refaults

函数原型:static void snapshot_refaults(struct mem_cgroup *target_memcg, pg_data_t *pgdat)

返回类型:void

参数:

类型参数名称
struct mem_cgroup *target_memcg
pg_data_t *pgdat
3014  target_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.
3015  refaults等于lruvec_page_state(target_lruvec, WORKINGSET_ACTIVATE)
3016  Refaults at the time of last reclaim cycle 等于refaults
调用者
名称描述
do_try_to_free_pagesThis is the main entry point to direct page reclaim
balance_pgdatFor kswapd, balance_pgdat() will reclaim pages across a node from zones* that are eligible for use by the caller until at least one zone is* balanced.* Returns the order kswapd finished reclaiming at.