函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:age_active_anon

函数原型:static void age_active_anon(struct pglist_data *pgdat, struct scan_control *sc)

返回类型:void

参数:

类型参数名称
struct pglist_data *pgdat
struct scan_control *sc
3392  如果非total_swap_pages则返回
3395  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.
3396  如果非The inactive anon list should be small enough that the VM never has* to do too much work.* The inactive file list should be small enough to leave most memory* to the established workingset on the scan-resistant active list,则返回
3399  memcg等于mem_cgroup_iter(NULL, NULL, NULL)
3400  循环
3401  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.
3402  shrink_active_list(SWAP_CLUSTER_MAX, lruvec, sc, LRU_ACTIVE_ANON)
3404  memcg等于mem_cgroup_iter(NULL, memcg, NULL)
3405 memcg循环
调用者
名称描述
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.