函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cgroup_reclaim

函数原型:static bool cgroup_reclaim(struct scan_control *sc)

返回类型:bool

参数:

类型参数名称
struct scan_control *sc
257  返回:* The memory cgroup that hit its limit and as a result is the * primary target of this reclaim invocation.
调用者
名称描述
writeback_throttling_sanewriteback_throttling_sane - is the usual dirty throttling mechanism available?*@sc: scan_control in question* The normal page dirty throttling mechanism in balance_dirty_pages() is* completely broken with the legacy memcg and direct stalling in*
shrink_inactive_listshrink_inactive_list() is a helper for shrink_node(). It returns the number* of reclaimed pages
get_scan_countDetermine how aggressively the anon and file LRU lists should be* scanned
shrink_lruvec
shrink_node
shrink_zonesThis is the direct reclaim path, for page-allocating processes. We only* try to reclaim pages from zones which will satisfy the caller's allocation* request.* If a zone is deemed to be full of pinned pages then just give it a light
do_try_to_free_pagesThis is the main entry point to direct page reclaim