Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:26:33 |
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_nodemask(struct hstate *h, int preferred_nid, nodemask_t *nmask)
Type:struct page
Parameter:
Type | Parameter | Name |
---|---|---|
struct hstate * | h | |
int | preferred_nid | |
nodemask_t * | nmask |
1660 | spin_lock( & Protects updates to hugepage_freelists, hugepage_activelist, nr_huge_pages,* free_huge_pages, and surplus_huge_pages.) |
1661 | If free_huge_pages - resv_huge_pages > 0 Then |
1664 | page = dequeue_huge_page_nodemask(h, gfp_mask, preferred_nid, nmask) |
1665 | If page Then |
1670 | spin_unlock( & Protects updates to hugepage_freelists, hugepage_activelist, nr_huge_pages,* free_huge_pages, and surplus_huge_pages.) |
1672 | Return alloc_migrate_huge_page(h, gfp_mask, preferred_nid, nmask) |
Name | Describe |
---|---|
alloc_huge_page_vma | mempolicy aware migration callback |
new_page_nodemask |
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 |