Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:enqueue_huge_page

Proto:static void enqueue_huge_page(struct hstate *h, struct page *page)

Type:void

Parameter:

TypeParameterName
struct hstate *h
struct page *page
822  nid = page_to_nid(page)
823  list_move - delete from one list and add as another's head*@list: the entry to move*@head: the head that will precede our entry
824  free_huge_pages++
825  free_huge_pages_node[nid]++
Caller
NameDescribe
__free_huge_page
gather_surplus_pagesIncrease the hugetlb pool such that it can accommodate a reservation* of size 'delta'.