Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cgroup_reclaim

Proto:static bool cgroup_reclaim(struct scan_control *sc)

Type:bool

Parameter:

TypeParameterName
struct scan_control *sc
257  Return * The memory cgroup that hit its limit and as a result is the * primary target of this reclaim invocation.
Caller
NameDescribe
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