Function report |
Source Code:mm\mempolicy.c |
Create Date:2022-07-28 15:32:53 |
Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Determine a node number for interleave
Proto:static inline unsigned interleave_nid(struct mempolicy *pol, struct vm_area_struct *vma, unsigned long addr, int shift)
Type:unsigned
Parameter:
Type | Parameter | Name |
---|---|---|
struct mempolicy * | pol | |
struct vm_area_struct * | vma | |
unsigned long | addr | |
int | shift |
1923 | If vma Then |
1935 | off += addr - Our start address within vm_mm. >> shift |
1937 | Else Return Do dynamic interleaving for a process |
Name | Describe |
---|---|
huge_node | 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 |
alloc_pages_vma | alloc_pages_vma - Allocate a page for a VMA.*@gfp:* %GFP_USER user allocation.* %GFP_KERNEL kernel allocations,* %GFP_HIGHMEM highmem/user allocations,* %GFP_FS allocation should not 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 |