Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static inline bool is_sysrq_oom(struct oom_control *oc)

Type:bool

Parameter:

TypeParameterName
struct oom_control *oc
157  Return rder == -1 means the oom kill is required by sysrq, otherwise only* for display purposes. == -1
Caller
NameDescribe
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)