Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Movability of hugepages depends on migration support.

Proto:static inline gfp_t htlb_alloc_mask(struct hstate *h)

Type:gfp_t

Parameter:

TypeParameterName
struct hstate *h
887  If Movability check is different as compared to migration check Then Return GFP_HIGHUSER_MOVABLE
889  Else Return GFP_HIGHUSER
Caller
NameDescribe
dequeue_huge_page_vma
alloc_pool_huge_pageAllocates a fresh page to the hugetlb allocator pool in the node interleaved* manner.
alloc_buddy_huge_page_with_mpolUse the VMA's mpolicy to allocate a huge page from the buddy.
alloc_huge_page_nodepage migration callback function
alloc_huge_page_nodemaskpage migration callback function
alloc_huge_page_vmamempolicy aware migration callback
gather_surplus_pagesIncrease the hugetlb pool such that it can accommodate a reservation* of size 'delta'.