Function report |
Source Code:mm\mempolicy.c |
Create Date:2022-07-28 15:31:41 |
| Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:page allocation callback for NUMA node migration
Proto:struct page *alloc_new_node_page(struct page *page, unsigned long node)
Type:struct page
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page | |
| unsigned long | node |
| 1023 | thp = Allocate pages, preferring the node given as nid. When nid == NUMA_NO_NODE,* prefer the current CPU's closest node. Otherwise node must be valid and* online. |
| 1026 | If Not thp Then Return NULL |
| 1028 | prep_transhuge_page(thp) |
| 1029 | Return thp |
| 1030 | Else Return Allocate pages, preferring the node given as nid. The node must be valid and* online. For more general interface, see alloc_pages_node(). |
| 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 |