函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Kill provided task unless it's secured by setting* oom_score_adj to OOM_SCORE_ADJ_MIN.

函数原型:static int oom_kill_memcg_member(struct task_struct *task, void *message)

返回类型:int

参数:

类型参数名称
struct task_struct *task
void *message
943  如果oom_score_adj不等于/proc//oom_score_adj set to OOM_SCORE_ADJ_MIN disables oom killing for* pid.且非检查进程已初始化
945  get_task_struct(task)
946  __oom_kill_process(task, message)
948  返回:0