函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:enqueue_huge_page

函数原型:static void enqueue_huge_page(struct hstate *h, struct page *page)

返回类型:void

参数:

类型参数名称
struct hstate *h
struct page *page
822  nid等于page_to_nid(page)
823  链表项移动到头部
824  free_huge_pages自加
825  free_huge_pages_node[nid]自加
调用者
名称描述
__free_huge_page
gather_surplus_pagesIncrease the hugetlb pool such that it can accommodate a reservation* of size 'delta'.