函数逻辑报告 | 
Source Code:mm\mempolicy.c | 
Create Date:2022-07-27 17:03:33 | 
| Last Modify:2020-03-17 22:28:11 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称: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
函数原型:static void mpol_rebind_policy(struct mempolicy *pol, const nodemask_t *newmask)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct mempolicy * | pol | |
| const nodemask_t * | newmask | 
| 351 | 如果非pol则返回 | 
| 353 | 如果非mpol_store_user_nodemask(pol)且非See set_mempolicy() MPOL_F_* above 按位与preferred local allocation 的值且nodes_equal( relative to these nodes , * newmask)则返回 | 
| 名称 | 描述 | 
|---|---|
| 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 | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |