函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mem_cgroup_mark_under_oom

函数原型:static void mem_cgroup_mark_under_oom(struct mem_cgroup *memcg)

返回类型:void

参数:

类型参数名称
struct mem_cgroup *memcg
1698  加自旋锁
1699  Iteration constructs for visiting all cgroups (under a tree). If* loops are exited prematurely (break), mem_cgroup_iter_break() must* be used for reference counting.(iter, memcg)
1700  under_oom自加
1701  自旋锁解锁
调用者
名称描述
mem_cgroup_oom
mem_cgroup_oom_synchronizemem_cgroup_oom_synchronize - complete memcg OOM handling*@handle: actually kill/wait or just clean up the OOM state* This has to be called at the end of a page fault if the memcg OOM* handler was enabled