| Function report | 
| Source Code: mm\mempolicy.c | Create Date:2022-07-28 15:31:43 | 
| Last Modify:2020-03-17 22:28:11 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Migrate pages from one node to a target node.* Returns error or the number of pages not migrated.
Proto:static int migrate_to_node(struct mm_struct *mm, int source, int dest, int flags)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct mm_struct * | mm | |
| int | source | |
| int | dest | |
| int | flags | 
| 1044 | err = 0 | 
| 1046 | nodes_clear(nmask) | 
| 1047 | The inline keyword gives the compiler room to decide to inline, or* not inline a function as it sees best(source, nmask) | 
| 1054 | VM_BUG_ON(!(flags & (Move pages owned by this process to conformto policy | Move every page to conform to policy ))) | 
| 1058 | If Not list_empty - tests whether a list is empty*@head: the list to test. Then | 
| 1065 | Return err | 
| Name | Describe | 
|---|---|
| do_migrate_pages | Move pages between the two nodesets so as to preserve the physical* layout as much as possible.* Returns the number of page that could not be moved. | 
| 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 |