函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:set_hugetlb_cgroup
函数原型:static inline int set_hugetlb_cgroup(struct page *page, struct hugetlb_cgroup *h_cg)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
struct hugetlb_cgroup * | h_cg |
41 | VM_BUG_ON_PAGE(!PageHuge(page), page) |
43 | 如果compound_order(page)小于Minimum page order trackable by hugetlb cgroup.* At least 3 pages are necessary for all the tracking information.则返回:负1 |
46 | 返回:0 |
名称 | 描述 |
---|---|
prep_new_huge_page | |
hugetlb_cgroup_move_parent | 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. |
hugetlb_cgroup_commit_charge | Should be called with hugetlb_lock held |
hugetlb_cgroup_uncharge_page | Should be called with hugetlb_lock held |
hugetlb_cgroup_migrate | hugetlb_lock will make sure a parallel cgroup rmdir won't happen* when we migrate hugepages |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |