Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mempolicy aware migration callback

Proto:struct page *alloc_huge_page_vma(struct hstate *h, struct vm_area_struct *vma, unsigned long address)

Type:struct page

Parameter:

TypeParameterName
struct hstate *h
struct vm_area_struct *vma
unsigned longaddress
1685  gfp_mask = Movability of hugepages depends on migration support.
1686  node = huge_node(vma, address, gfp_mask, & mpol, & nodemask)
1687  page = page migration callback function
1688  mpol_cond_put(mpol)
1690  Return page
Caller
NameDescribe
new_pageAllocate a new page for page migration based on vma policy