Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:alloc_migrate_huge_page

Proto:struct page *alloc_migrate_huge_page(struct hstate *h, gfp_t gfp_mask, int nid, nodemask_t *nmask)

Type:struct page

Parameter:

TypeParameterName
struct hstate *h
gfp_tgfp_mask
intnid
nodemask_t *nmask
1598  If hstate_is_gigantic(h) Then Return NULL
1601  page = Common helper to allocate a fresh hugetlb page. All specific allocators* should use this function to get new hugetlb pages
1602  If Not page Then Return NULL
1609  SetPageHugeTemporary(page)
1611  Return page
Caller
NameDescribe
alloc_huge_page_nodepage migration callback function
alloc_huge_page_nodemaskpage migration callback function