函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\hugetlb_cgroup.c Create Date:2022-07-27 17:50:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hugetlb_cgroup_uncharge_cgroup

函数原型:void hugetlb_cgroup_uncharge_cgroup(int idx, unsigned long nr_pages, struct hugetlb_cgroup *h_cg)

返回类型:void

参数:

类型参数名称
intidx
unsigned longnr_pages
struct hugetlb_cgroup *h_cg
247  如果hugetlb_cgroup_disabled()或非h_cg则返回
250  如果huge_page_order( & hstates[idx])小于Minimum page order trackable by hugetlb cgroup.* At least 3 pages are necessary for all the tracking information.则返回
253  page_counter_uncharge - hierarchically uncharge pages*@counter: counter*@nr_pages: number of pages to uncharge
254  返回
调用者
名称描述
alloc_huge_page