函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\hugetlb.h Create Date:2022-07-27 06:54:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hstate_is_gigantic

函数原型:static inline bool hstate_is_gigantic(struct hstate *h)

返回类型:bool

参数:

类型参数名称
struct hstate *h
523  返回:huge_page_order(h)大于等于Free memory management - zoned buddy allocator.
调用者
名称描述
update_and_free_page
alloc_fresh_huge_pageCommon helper to allocate a fresh hugetlb page. All specific allocators* should use this function to get new hugetlb pages
alloc_surplus_huge_pageAllocates a fresh surplus page from the page allocator.
alloc_migrate_huge_page
return_unused_surplus_pagesThis routine has two main purposes:* 1) Decrement the reservation count (resv_huge_pages) by the value passed* in unused_resv_pages
gather_bootmem_preallocPut bootmem huge pages into the standard lists after mem_map is up
hugetlb_hstate_alloc_pages
hugetlb_init_hstates
set_max_huge_pages
__nr_hugepages_store_common
nr_overcommit_hugepages_store
hugetlb_overcommit_handler
hugepage_movable_supportedMovability check is different as compared to migration check