Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dequeue_huge_page_node_exact

Proto:static struct page *dequeue_huge_page_node_exact(struct hstate *h, int nid)

Type:struct page

Parameter:

TypeParameterName
struct hstate *h
intnid
832  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(page, & hugepage_freelists[nid], lru)
833  If Not PageHWPoison(page) Then Break
839  If hugepage_freelists[nid] == *@lru: Pageout list, eg. active_list protected by * pgdat->lru_lock. Sometimes used as a generic list * by the page owner. Then Return NULL
841  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
842  Turn a non-refcounted page (->_refcount == 0) into refcounted with* a count of one.
843  free_huge_pages--
844  free_huge_pages_node[nid]--
845  Return page
Caller
NameDescribe
dequeue_huge_page_nodemask