Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:khugepaged_alloc_page

Proto:static struct page *khugepaged_alloc_page(struct page **hpage, gfp_t gfp, int node)

Type:struct page

Parameter:

TypeParameterName
struct page **hpage
gfp_tgfp
intnode
783  VM_BUG_ON_PAGE( * hpage, * hpage)
785  hpage = Allocate pages, preferring the node given as nid. The node must be valid and* online. For more general interface, see alloc_pages_node().
786  If Value for the false possibility is greater at compile time(! * hpage) Then
787  Disable counters
788  hpage = ERR_PTR( - ENOMEM)
789  Return NULL
792  prep_transhuge_page( * hpage)
793  Disable counters
794  Return hpage
Caller
NameDescribe
collapse_huge_page