Function report | 
Source Code:mm\mempolicy.c | 
Create Date:2022-07-28 15:32:55 | 
| Last Modify:2020-03-17 22:28:11 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:huge_node(@vma, @addr, @gfp_flags, @mpol)*@vma: virtual memory area whose policy is sought*@addr: address in @vma for shared policy lookup and interleave policy*@gfp_flags: for requested zone*@mpol: pointer to mempolicy pointer for reference counted
Proto:int huge_node(struct vm_area_struct *vma, unsigned long addr, gfp_t gfp_flags, struct mempolicy **mpol, nodemask_t **nodemask)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct vm_area_struct * | vma | |
| unsigned long | addr | |
| gfp_t | gfp_flags | |
| struct mempolicy ** | mpol | |
| nodemask_t ** | nodemask | 
| 1962 | mpol = get_vma_policy(@vma, @addr)*@vma: virtual memory area whose policy is sought*@addr: address in @vma for shared policy lookup* Returns effective policy for a VMA at specified address | 
| 1963 | * nodemask = NULL | 
| 1968 | Else | 
| 1970 | If See MPOL_* above == MPOL_BIND Then nodemask = interleave/bind | 
| 1973 | Return nid | 
| Name | Describe | 
|---|---|
| alloc_buddy_huge_page_with_mpol | Use the VMA's mpolicy to allocate a huge page from the buddy. | 
| alloc_huge_page_vma | mempolicy aware migration callback | 
| 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  |