Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:The restriction on ZONE_DMA32 as being a suitable zone to use to avoid* fragmentation is subtle. If the preferred zone was HIGHMEM then* premature use of a lower zone may cause lowmem pressure problems that* are worse than fragmentation

Proto:static inline unsigned int alloc_flags_nofragment(struct zone *zone, gfp_t gfp_mask)

Type:unsigned int

Parameter:

TypeParameterName
struct zone *zone
gfp_tgfp_mask
3538  alloc_flags = 0
3540  If gfp_mask & kswapd can wake Then alloc_flags |= allow waking of kswapd
3561  Return alloc_flags
Caller
NameDescribe
__alloc_pages_nodemaskThis is the 'heart' of the zoned buddy allocator.