Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:We account for memory if it's a private writeable mapping,* not hugepages and VM_NORESERVE wasn't set.

Proto:static inline int accountable_mapping(struct file *file, vm_flags_t vm_flags)

Type:int

Parameter:

TypeParameterName
struct file *file
vm_flags_tvm_flags
1683  If file && is_file_hugepages(file) Then Return 0
1686  Return (vm_flags & ( should the VM suppress accounting | VM_SHARED | VM_WRITE)) == VM_WRITE
Caller
NameDescribe
mmap_region