Function report |
Source Code:mm\hugetlb_cgroup.c |
Create Date:2022-07-28 16:16:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:parent_hugetlb_cgroup
Proto:static inline struct hugetlb_cgroup *parent_hugetlb_cgroup(struct hugetlb_cgroup *h_cg)
Type:struct hugetlb_cgroup
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct hugetlb_cgroup * | h_cg |
| 56 | Return hugetlb_cgroup_from_css(PI: the parent css. Placed here for cache proximity to following* fields of the containing structure.) |
| Name | Describe |
|---|---|
| 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. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |