Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mman.h Create Date:2022-07-28 06:29:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vm_acct_memory

Proto:static inline void vm_acct_memory(long pages)

Type:void

Parameter:

TypeParameterName
longpages
68  percpu_counter_add_batch( & vm_committed_as, pages, vm_committed_as_batch)
Caller
NameDescribe
__vm_enough_memoryCheck that a process has enough memory to allocate a new virtual* mapping. 0 means there is enough memory for the allocation to* succeed and -ENOMEM implies there is not.* We currently support three overcommit policies, which are set via the* vm