函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mempolicy aware migration callback

函数原型:struct page *alloc_huge_page_vma(struct hstate *h, struct vm_area_struct *vma, unsigned long address)

返回类型:struct page

参数:

类型参数名称
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  返回:page
调用者
名称描述
new_pageAllocate a new page for page migration based on vma policy