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_alloc

Proto:struct vm_area_struct *vm_area_alloc(struct mm_struct *mm)

Type:struct vm_area_struct

Parameter:

TypeParameterName
struct mm_struct *mm
351  vma = kmem_cache_alloc(SLAB cache for vm_area_struct structures , GFP_KERNEL)
352  If vma Then vma_init(vma, mm)
354  Return vma
Caller
NameDescribe
mmap_region
do_brk_flagshis is really a simplified "do_mmap". it only handles* anonymous maps. eventually we may be able to do some* brk-specific accounting here.
__install_special_mapping