函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\oom_kill.c Create Date:2022-07-27 15:29:14
Last Modify:2022-05-23 13:16:41 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dump_oom_summary

函数原型:static void dump_oom_summary(struct oom_control *oc, struct task_struct *victim)

返回类型:void

参数:

类型参数名称
struct oom_control *oc
struct task_struct *victim
443  打印信息("oom-kill:constraint=%s,nodemask=%*pbl", oom_constraint_text[Used to print the constraint info. ], demask_pr_args - printf args to output a nodemask*@maskp: nodemask to be printed* Can be used to provide arguments for '%*pb[l]' when printing a nodemask.(Used to determine mempolicy ))
446  cpuset_print_current_mems_allowed()
447  mem_cgroup_print_oom_context(Memory cgroup in which oom is invoked, or NULL for global oom , victim)
448  打印标准信息(",task=%s,pid=%d,uid=%d\n", comm, pid, m_kuid - Create a uid from a kuid user-namespace pair.*@targ: The user namespace we want a uid in.*@kuid: The kernel internal uid to start with.* Map @kuid into the user-namespace specified by @targ and* return the resulting uid.)
调用者
名称描述
dump_header