函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mempolicy.c Create Date:2022-07-27 17:06:17
Last Modify:2020-03-17 22:28:11 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:vma_dup_policy

函数原型:int vma_dup_policy(struct vm_area_struct *src, struct vm_area_struct *dst)

返回类型:int

参数:

类型参数名称
struct vm_area_struct *src
struct vm_area_struct *dst
2221  pol等于mpol_dup(vma_policy(src))
2223  如果是错误则返回:错误
2225  NUMA policy for the VMA 等于pol
2226  返回:0
调用者
名称描述
copy_vmaCopy the vma structure to a new location in the same mm,* prior to moving page table entries, to effect an mremap move.
dup_mmap
__split_vma__split_vma() bypasses sysctl_max_map_count checking. We use this where it* has already been checked or doesn't make sense to fail.