Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Determine whether to spread dirty pages and what the first usable zone

Proto:static inline void finalise_ac(gfp_t gfp_mask, struct alloc_context *ac)

Type:void

Parameter:

TypeParameterName
gfp_tgfp_mask
struct alloc_context *ac
4685  spread_dirty_pages = gfp_mask & __GFP_WRITE
4692  preferred_zoneref = - Zoneref pointer for the first suitable zone found (see below)
Caller
NameDescribe
__alloc_pages_nodemaskThis is the 'heart' of the zoned buddy allocator.