函数逻辑报告 |
Source Code:mm\hugetlb_cgroup.c |
Create Date:2022-07-27 17:50:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Should be called with hugetlb_lock held
函数原型:void hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages, struct page *page)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
int | idx | |
unsigned long | nr_pages | |
struct page * | page |
233 | 如果hugetlb_cgroup_disabled()则返回 |
235 | lockdep_assert_held( & Protects updates to hugepage_freelists, hugepage_activelist, nr_huge_pages,* free_huge_pages, and surplus_huge_pages.) |
236 | h_cg等于hugetlb_cgroup_from_page(page) |
237 | 如果此条件成立可能性小(为编译器优化)(!h_cg)则返回 |
239 | set_hugetlb_cgroup(page, NULL) |
241 | 返回 |
名称 | 描述 |
---|---|
__free_huge_page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |