函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Use the VMA's mpolicy to allocate a huge page from the buddy.

函数原型:static struct page *alloc_buddy_huge_page_with_mpol(struct hstate *h, struct vm_area_struct *vma, unsigned long addr)

返回类型:struct page

参数:

类型参数名称
struct hstate *h
struct vm_area_struct *vma
unsigned longaddr
1623  gfp_mask等于Movability of hugepages depends on migration support.
1627  nid等于huge_node(vma, addr, gfp_mask, & mpol, & nodemask)
1628  page等于Allocates a fresh surplus page from the page allocator.
1629  mpol_cond_put(mpol)
1631  返回:page
调用者
名称描述
alloc_huge_page