Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:26:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:page migration callback function
Proto:struct page *alloc_huge_page_node(struct hstate *h, int nid)
Type:struct page
Parameter:
Type | Parameter | Name |
---|---|---|
struct hstate * | h | |
int | nid |
1640 | If nid != NUMA_NO_NODE Then gfp_mask |= __GFP_THISNODE |
1643 | spin_lock( & Protects updates to hugepage_freelists, hugepage_activelist, nr_huge_pages,* free_huge_pages, and surplus_huge_pages.) |
1644 | If free_huge_pages - resv_huge_pages > 0 Then page = dequeue_huge_page_nodemask(h, gfp_mask, nid, NULL) |
1646 | spin_unlock( & Protects updates to hugepage_freelists, hugepage_activelist, nr_huge_pages,* free_huge_pages, and surplus_huge_pages.) |
1651 | Return page |
Name | Describe |
---|---|
alloc_new_node_page | page allocation callback for NUMA node migration |
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 |