函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memcontrol.c Create Date:2022-07-27 17:43:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:void mem_cgroup_iter_break(struct mem_cgroup *root, struct mem_cgroup *prev)

返回类型:void

参数:

类型参数名称
struct mem_cgroup *root
struct mem_cgroup *prev
1124  如果非rootroot等于root_mem_cgroup
1126  如果prevprev不等于root设置一个css引用
调用者
名称描述
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.