Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mmap.c Create Date:2022-07-28 14:49:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:do_munmap

Proto:int do_munmap(struct mm_struct *mm, unsigned long start, size_t len, struct list_head *uf)

Type:int

Parameter:

TypeParameterName
struct mm_struct *mm
unsigned longstart
size_tlen
struct list_head *uf
2824  Return Munmap is split into 2 main parts -- this part which finds* what needs doing, and the areas themselves, which do the* work. This now handles partial unmappings.* Jeremy Fitzhardinge
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.
move_vma
mremap_to
ksys_shmdtdetach and kill segment if marked destroyed.* The work is done in shm_close.