Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:warn_alloc_show_mem

Proto:static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask)

Type:void

Parameter:

TypeParameterName
gfp_tgfp_mask
nodemask_t *nodemask
3719  filter = disallowed nodes
3726  If Not (gfp_mask & __GFP_NOMEMALLOC) Then If tsk_is_oom_victim(current process) || flags & (Allocating memory | Getting shut down ) Then
3729  filter &= ~disallowed nodes
3730  If in_interrupt() || Not (gfp_mask & Caller can reclaim ) Then filter &= ~disallowed nodes
3733  show_mem(filter, nodemask)
Caller
NameDescribe
warn_alloc