函数逻辑报告

Linux Kernel (v4.4)

Source File:include\linux\mempolicy.h Create Date:2016-01-14 22:32:31
Last Modify:2016-01-11 07:01:32 Copyright©Brick
首页 函数Tree
注解内核English

函数名称:mpol_put

函数原型:static inline void mpol_put(struct mempolicy *pol)

返回类型:static inline void

函数参数:

类型 参数名称备注
struct mempolicy * pol

功能描述:

66  如果polSlow path of a mpol destructor.
调用函数
函数名称功能描述
dup_mmap
copy_process创建进程
do_exit
remove_vmaClose a vm structure and free it, returning the next.
vma_adjustWe cannot adjust vm_start, vm_end, vm_pgoff fields of a vma that is already present in an i_mmap tree without adjusting the tree
__split_vmabypasses sysctl_max_map_count checking. We use this on the munmap path where it doesn't make sense to fail.
copy_vmaCopy the vma structure to a new location in the same mm, prior to moving page table entries, to effect an mremap move.
vma_replace_policyApply policy to a single VMA This must be called with the mmap_sem held for writing.
do_set_mempolicySet the process memory policy
do_mbind
sp_free
shared_policy_replaceReplace a policy range.
mpol_shared_policy_init initialize shared policy for inode
release_task_mempolicy