函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mem_cgroup_oom_control_write

函数原型:static int mem_cgroup_oom_control_write(struct cgroup_subsys_state *css, struct cftype *cft, u64 val)

返回类型:int

参数:

类型参数名称
struct cgroup_subsys_state *css
struct cftype *cft
u64val
4168  memcg等于mem_cgroup_from_css(css)
4171  如果非PI: the parent css. Placed here for cache proximity to following* fields of the containing structure.或非val恒等于0或val恒等于1的值则返回:负EINVAL
4174  OOM-Killer disable 等于val
4175  如果非valmemcg_oom_recover(memcg)
4178  返回:0