Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:hugetlb_cgroup_uncharge_cgroup

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

Type:void

Parameter:

TypeParameterName
intidx
unsigned longnr_pages
struct hugetlb_cgroup *h_cg
247  If hugetlb_cgroup_disabled() || Not h_cg Then Return
250  If huge_page_order( & hstates[idx]) < Minimum page order trackable by hugetlb cgroup.* At least 3 pages are necessary for all the tracking information. Then Return
253  page_counter_uncharge - hierarchically uncharge pages*@counter: counter*@nr_pages: number of pages to uncharge
254  Return
Caller
NameDescribe
alloc_huge_page