Function Report

Linux Kernel (v4.4)

Source File:include\linux\mempolicy.h Create Date:2016-01-14 14:27:26
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:mpol_put

Function:static inline void mpol_put(struct mempolicy *pol)

Return Type:static inline void


Type Parameter NameRemarks
struct mempolicy * pol

Function description:

66  If pol then Slow path of a mpol destructor.
Function NameFunction description
copy_processCreate a new process
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
shared_policy_replaceReplace a policy range.
mpol_shared_policy_init initialize shared policy for inode