Function report | 
Source Code:mm\mempolicy.c | 
Create Date:2022-07-28 15:30:40 | 
| Last Modify:2020-03-17 22:28:11 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:get_task_policy
Proto:struct mempolicy *get_task_policy(struct task_struct *p)
Type:struct mempolicy
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | p | 
| 139 | If node != NUMA_NO_NODE Then | 
| 140 | pol = preferred_node_policy[node] | 
| 142 | If See MPOL_* above Then Return pol | 
| Name | Describe | 
|---|---|
| get_vma_policy | 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 | 
| vma_policy_mof | |
| alloc_pages_current | alloc_pages_current - Allocate pages.*@gfp:* %GFP_USER user allocation,* %GFP_KERNEL kernel allocation,* %GFP_HIGHMEM highmem allocation,* %GFP_FS don't call back into a file system.* %GFP_ATOMIC don't sleep. | 
| 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  |