Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:hugetlb_cgroup_have_usage

Proto:static inline bool hugetlb_cgroup_have_usage(struct hugetlb_cgroup *h_cg)

Type:bool

Parameter:

TypeParameterName
struct hugetlb_cgroup *h_cg
63  When idx < hugetlb_max_hstate cycle
64  If page_counter_read( & * the counter to account for hugepages from hugetlb.[idx]) Then Return true
67  Return false
Caller
NameDescribe
hugetlb_cgroup_css_offlineForce the hugetlb cgroup to empty the hugetlb resources by moving them to* the parent cgroup.