函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Movability of hugepages depends on migration support.

函数原型:static inline gfp_t htlb_alloc_mask(struct hstate *h)

返回类型:gfp_t

参数:

类型参数名称
struct hstate *h
887  如果Movability check is different as compared to migration check则返回:GFP_HIGHUSER_MOVABLE
889  否则返回:GFP_HIGHUSER
调用者
名称描述
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'.