Function report |
Source Code:mm\oom_kill.c |
Create Date:2022-07-28 14:06:05 |
Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dump_header
Proto:static void dump_header(struct oom_control *oc, struct task_struct *p)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct oom_control * | oc | |
struct task_struct * | p |
454 | pr_warn("%s invoked oom-killer: gfp_mask=%#x(%pGg), order=%d, oom_score_adj=%hd\n", comm, Used to determine cpuset and node locality requirement , & Used to determine cpuset and node locality requirement , rder == -1 means the oom kill is required by sysrq, otherwise only* for display purposes., oom_score_adj) |
457 | If Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_COMPACTION) && rder == -1 means the oom kill is required by sysrq, otherwise only* for display purposes. Then pr_warn("COMPACTION is disabled!!!\n") |
460 | dump_stack() |
461 | If is_memcg_oom(oc) Then mem_cgroup_print_oom_meminfo(Memory cgroup in which oom is invoked, or NULL for global oom ) |
463 | Else |
470 | If p Then dump_oom_summary(oc, p) |
Name | Describe |
---|---|
oom_kill_process | |
check_panic_on_oom | Determines whether the kernel must panic because of the panic_on_oom sysctl. |
out_of_memory | _of_memory - kill the "best" process when we run out of memory*@oc: pointer to struct oom_control* If we run out of memory, we have the choice between either* killing a random task (bad), letting the system crash (worse) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |