Function report |
Source Code:mm\hugetlb_cgroup.c |
Create Date:2022-07-28 16:16:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Should be called with hugetlb_lock held
Proto:void hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages, struct page *page)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
int | idx | |
unsigned long | nr_pages | |
struct page * | page |
233 | If hugetlb_cgroup_disabled() Then Return |
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 | If Value for the false possibility is greater at compile time(!h_cg) Then Return |
239 | set_hugetlb_cgroup(page, NULL) |
241 | Return |
Name | Describe |
---|---|
__free_huge_page |
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 |