Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmscan.c Create Date:2022-07-28 14:19:23
Last Modify:2022-05-23 13:41:30 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:snapshot_refaults

Proto:static void snapshot_refaults(struct mem_cgroup *target_memcg, pg_data_t *pgdat)

Type:void

Parameter:

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