函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\hugetlb_cgroup.h Create Date:2022-07-27 16:55:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hugetlb_cgroup_disabled

函数原型:static inline bool hugetlb_cgroup_disabled(void)

返回类型:bool

参数:

51  返回:非cgroup_subsys_enabled - fast test on whether a subsys is enabled*@ss: subsystem in question(hugetlb_cgrp_subsys)
调用者
名称描述
hugetlb_cgroup_charge_cgroup
hugetlb_cgroup_commit_chargeShould be called with hugetlb_lock held
hugetlb_cgroup_uncharge_pageShould be called with hugetlb_lock held
hugetlb_cgroup_uncharge_cgroup
hugetlb_cgroup_migratehugetlb_lock will make sure a parallel cgroup rmdir won't happen* when we migrate hugepages