Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:warn_alloc

Proto:void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...)

Type:void

Parameter:

TypeParameterName
gfp_tgfp_mask
nodemask_t *nodemask
const char *fmt
3740  DEFINE_RATELIMIT_STATE(nopage_rs, 10 * HZ, 1)
3742  If gfp_mask & DOC: Action modifiers* Action modifiers* ~~~~~~~~~~~~~~~~* %__GFP_NOWARN suppresses allocation failure reports.* %__GFP_COMP address compound page metadata.* %__GFP_ZERO returns a zeroed page on success. || Not __ratelimit( & nopage_rs) Then Return
3745  va_start(args, fmt)
3746  fmt = fmt
3747  va = args
3748  pr_warn("%s: %pV, mode:%#x(%pGg), nodemask=%*pbl", comm, & vaf, gfp_mask, & gfp_mask, demask_pr_args - printf args to output a nodemask*@maskp: nodemask to be printed* Can be used to provide arguments for '%*pb[l]' when printing a nodemask.(nodemask))
3751  va_end(args)
3753  puset_print_current_mems_allowed - prints current's cpuset and mems_allowed* Description: Prints current's name, cpuset name, and cached copy of its* mems_allowed to the kernel log.
3754  Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("\n")
3755  dump_stack()
3756  warn_alloc_show_mem(gfp_mask, nodemask)
Caller
NameDescribe
__vmalloc_node_range__vmalloc_node_range - allocate virtually contiguous memory*@size: allocation size*@align: desired alignment*@start: vm area range start*@end: vm area range end*@gfp_mask: flags for the page level allocator*@prot: protection mask for the allocated pages
__alloc_pages_slowpath
vmemmap_alloc_block