Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:26:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:prep_new_huge_page
Proto:static void prep_new_huge_page(struct hstate *h, struct page *page, int nid)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct hstate * | h | |
struct page * | page | |
int | nid |
1255 | spin_lock( & Protects updates to hugepage_freelists, hugepage_activelist, nr_huge_pages,* free_huge_pages, and surplus_huge_pages.) |
1256 | set_hugetlb_cgroup(page, NULL) |
1257 | nr_huge_pages++ |
1258 | nr_huge_pages_node[nid]++ |
1259 | spin_unlock( & Protects updates to hugepage_freelists, hugepage_activelist, nr_huge_pages,* free_huge_pages, and surplus_huge_pages.) |
Name | Describe |
---|---|
alloc_fresh_huge_page | Common helper to allocate a fresh hugetlb page. All specific allocators* should use this function to get new hugetlb pages |
gather_bootmem_prealloc | Put bootmem huge pages into the standard lists after mem_map is up |
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 |