Function report |
Source Code:mm\mempolicy.c |
Create Date:2022-07-28 15:33:00 |
| Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Allocate a page in interleaved policy.Own path because it needs to do special accounting.
Proto:static struct page *alloc_page_interleave(gfp_t gfp, unsigned order, unsigned nid)
Type:struct page
Parameter:
| Type | Parameter | Name |
|---|---|---|
| gfp_t | gfp | |
| unsigned | order | |
| unsigned | nid |
| 2077 | page = __alloc_pages(gfp, order, nid) |
| 2079 | If Not static_branch_likely( & vm_numa_stat_key) Then Return page |
| 2081 | If page && page_to_nid(page) == nid Then |
| 2084 | preempt_enable() |
| 2086 | Return page |
| Name | Describe |
|---|---|
| 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. |
| 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 |