函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rder == -1 means the oom kill is required by sysrq, otherwise only* for display purposes.

函数原型:static inline bool is_sysrq_oom(struct oom_control *oc)

返回类型:bool

参数:

类型参数名称
struct oom_control *oc
157  返回:rder == -1 means the oom kill is required by sysrq, otherwise only* for display purposes.恒等于负1
调用者
名称描述
oom_evaluate_task
check_panic_on_oomDetermines 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)