Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\nommu.c Create Date:2022-07-28 14:36:38
Last Modify:2020-03-17 21:26:27 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:alise the percpu counter for VM and region record slabs

Proto:void __init mmap_init(void)

Type:void

Parameter:Nothing

453  ret = percpu_counter_init( & Make sure vm_committed_as in one cacheline and not cacheline shared with* other variables. It can be updated by several CPUs frequently., 0, GFP_KERNEL)
454  VM_BUG_ON(ret)
455  list of mapped, potentially shareable regions = Please use this macro to create slab caches. Simply specify the* name of the structure and maybe some flags that are listed above.* The alignment of the struct determines object alignment. If you* f(vm_region, Panic if kmem_cache_create() fails | SLAB_ACCOUNT)