Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\oom_kill.c Create Date:2022-07-28 14:06:03
Last Modify:2022-05-23 13:16:41 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dump_oom_summary

Proto:static void dump_oom_summary(struct oom_control *oc, struct task_struct *victim)

Type:void

Parameter:

TypeParameterName
struct oom_control *oc
struct task_struct *victim
443  pr_info("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  Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.(",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.)
Caller
NameDescribe
dump_header