Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\fork.c Create Date:2022-07-28 08:57:35
Last Modify:2020-03-17 11:04:53 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vm_area_dup

Proto:struct vm_area_struct *vm_area_dup(struct vm_area_struct *orig)

Type:struct vm_area_struct

Parameter:

TypeParameterName
struct vm_area_struct *orig
359  new = kmem_cache_alloc(SLAB cache for vm_area_struct structures , GFP_KERNEL)
361  If new Then
362  new = orig
363  Initialization list head
365  Return new
Caller
NameDescribe
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.
copy_vmaCopy the vma structure to a new location in the same mm,* prior to moving page table entries, to effect an mremap move.