Function report |
Source Code:mm\mempolicy.c |
Create Date:2022-07-28 15:32:43 |
Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:vma_policy_mof
Proto:bool vma_policy_mof(struct vm_area_struct *vma)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | vma |
1769 | If Function pointers to deal with this struct. && get_policy Then |
1770 | bool ret = false |
1772 | pol = get_policy(vma, Our start address within vm_mm. ) |
1773 | If pol && See set_mempolicy() MPOL_F_* above & his policy wants migrate on fault Then ret = true |
1775 | mpol_cond_put(pol) |
1777 | Return ret |
1780 | pol = NUMA policy for the VMA |
1781 | If Not pol Then pol = get_task_policy(current process) |
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 |