函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Should be called with hugetlb_lock held

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

返回类型:void

参数:

类型参数名称
intidx
unsigned longnr_pages
struct hugetlb_cgroup *h_cg
struct page *page
218  如果hugetlb_cgroup_disabled()或非h_cg则返回
221  set_hugetlb_cgroup(page, h_cg)
222  返回
调用者
名称描述
alloc_huge_page