Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memcontrol.c Create Date:2022-07-28 16:09:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mem_cgroup_iter_break - abort a hierarchy walk prematurely*@root: hierarchy root*@prev: last visited hierarchy member as returned by mem_cgroup_iter()

Proto:void mem_cgroup_iter_break(struct mem_cgroup *root, struct mem_cgroup *prev)

Type:void

Parameter:

TypeParameterName
struct mem_cgroup *root
struct mem_cgroup *prev
1124  If Not root Then root = root_mem_cgroup
1126  If prev && prev != root Then ss_put - put a css reference*@css: target css* Put a reference obtained via css_get() and css_tryget_online().
Caller
NameDescribe
memcg_expand_shrinker_maps
mem_cgroup_scan_tasksmem_cgroup_scan_tasks - iterate over tasks of a memory cgroup hierarchy*@memcg: hierarchy root*@fn: function to call for each task*@arg: argument passed to @fn* This function iterates over tasks attached to @memcg or to any of its
mem_cgroup_soft_reclaim
mem_cgroup_oom_trylockCheck OOM-Killer is already running under our hierarchy.* If someone is running, return false.