Function report |
Source Code:mm\mempolicy.c |
Create Date:2022-07-28 15:31:49 |
| Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Allocate a new page for page migration based on vma policy
Proto:static struct page *new_page(struct page *page, unsigned long start)
Type:struct page
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page | |
| unsigned long | start |
| 1194 | Return mempolicy aware migration callback |
| 1199 | thp = alloc_hugepage_vma(GFP_TRANSHUGE, vma, address, HPAGE_PMD_ORDER) |
| 1201 | If Not thp Then Return NULL |
| 1203 | prep_transhuge_page(thp) |
| 1204 | Return thp |
| 1209 | Return alloc_page_vma(GFP_HIGHUSER_MOVABLE | __GFP_RETRY_MAYFAIL, vma, address) |
| 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 |