Function report |
Source Code:mm\gup.c |
Create Date:2022-07-28 14:35:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:new_non_cma_page
Proto:static struct page *new_non_cma_page(struct page *page, unsigned long private)
Type:struct page
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page | |
| unsigned long | private |
| 1400 | nid = page_to_nid(page) |
| 1410 | If PageHighMem(page) Then gfp_mask |= __GFP_HIGHMEM |
| 1415 | h = page_hstate(page) |
| 1420 | Return alloc_migrate_huge_page(h, gfp_mask, nid, NULL) |
| 1434 | thp_gfpmask &= ~ZONE_MOVABLE allowed |
| 1435 | thp = Allocate pages, preferring the node given as nid. The node must be valid and* online. For more general interface, see alloc_pages_node(). |
| 1436 | If Not thp Then Return NULL |
| 1438 | prep_transhuge_page(thp) |
| 1439 | Return thp |
| 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 |