函数逻辑报告 |
Source Code:mm\hugetlb_cgroup.c |
Create Date:2022-07-27 17:50:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Should be called with hugetlb_lock held.* Since we are holding hugetlb_lock, pages cannot get moved from* active list or uncharged from the cgroup, So no need to get* page reference and test for page active here. This function* cannot fail.
函数原型:static void hugetlb_cgroup_move_parent(int idx, struct hugetlb_cgroup *h_cg, struct page *page)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
int | idx | |
struct hugetlb_cgroup * | h_cg | |
struct page * | page |
131 | parent等于parent_hugetlb_cgroup(h_cg) |
143 | 如果非parent则 |
144 | parent等于root_h_cgroup |
152 | set_hugetlb_cgroup(page, parent) |
153 | out : |
154 | 返回 |
名称 | 描述 |
---|---|
hugetlb_cgroup_css_offline | Force the hugetlb cgroup to empty the hugetlb resources by moving them to* the parent cgroup. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |