Function report |
Source Code:mm\mempolicy.c |
Create Date:2022-07-28 15:30:56 |
Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mpol_rebind_policy - Migrate a policy to a different set of nodes* Per-vma policies are protected by mmap_sem. Allocations using per-task* policies are protected by task->mems_allowed_seq to prevent a premature
Proto:static void mpol_rebind_policy(struct mempolicy *pol, const nodemask_t *newmask)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct mempolicy * | pol | |
const nodemask_t * | newmask |
351 | If Not pol Then Return |
353 | If Not mpol_store_user_nodemask(pol) && Not (See set_mempolicy() MPOL_F_* above & preferred local allocation ) && nodes_equal( relative to these nodes , * newmask) Then Return |
Name | Describe |
---|---|
mpol_rebind_task | Wrapper for mpol_rebind_policy() that just requires task* pointer, and updates task mempolicy.* Called with task's alloc_lock held. |
mpol_rebind_mm | Rebind each vma in mm to new nodemask.* Call holding a reference to mm. Takes mm->mmap_sem during call. |
__mpol_dup | Slow path of a mempolicy duplicate |
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 |