Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mem_cgroup_oom_control_read

Proto:static int mem_cgroup_oom_control_read(struct seq_file *sf, void *v)

Type:int

Parameter:

TypeParameterName
struct seq_file *sf
void *v
4156  memcg = mem_cgroup_from_seq(sf)
4158  seq_printf(sf, "oom_kill_disable %d\n", OOM-Killer disable )
4159  seq_printf(sf, "under_oom %d\n", (bool)under_oom)
4160  seq_printf(sf, "oom_kill %lu\n", atomic_long_read( & memory.events [MEMCG_OOM_KILL]))
4162  Return 0