函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-27 16:35:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static inline unsigned int alloc_flags_nofragment(struct zone *zone, gfp_t gfp_mask)

返回类型:unsigned int

参数:

类型参数名称
struct zone *zone
gfp_tgfp_mask
3538  alloc_flags等于0
3540  如果gfp_mask按位与kswapd can wake alloc_flags或等于allow waking of kswapd
3561  返回:alloc_flags
调用者
名称描述
__alloc_pages_nodemaskThis is the 'heart' of the zoned buddy allocator.