Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-28 15:05:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:oom_reserves_allowed

Proto:static bool oom_reserves_allowed(struct task_struct *tsk)

Type:bool

Parameter:

TypeParameterName
struct task_struct *tsk
4215  If Not tsk_is_oom_victim(tsk) Then Return false
4222  If Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_MMU) && Not test_thread_flag(s terminating due to OOM killer ) Then Return false
4225  Return true
Caller
NameDescribe
__gfp_pfmemalloc_flagsDistinguish requests which really need access to full memory* reserves from oom victims which can live with a portion of it