Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Should be called with hugetlb_lock held

Proto:void hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages, struct hugetlb_cgroup *h_cg, struct page *page)

Type:void

Parameter:

TypeParameterName
intidx
unsigned longnr_pages
struct hugetlb_cgroup *h_cg
struct page *page
218  If hugetlb_cgroup_disabled() || Not h_cg Then Return
221  set_hugetlb_cgroup(page, h_cg)
222  Return
Caller
NameDescribe
alloc_huge_page