函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\fork.c Create Date:2022-07-27 09:58:25
Last Modify:2020-03-17 11:04:53 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:进程缓存初始化

函数原型:void __init proc_caches_init(void)

返回类型:void

参数:

2781  SLAB cache for sighand_struct structures (tsk->sighand) 等于创建高速缓存区
2785  SLAB cache for signal_struct structures (tsk->signal) 等于创建高速缓存区
2789  SLAB cache for files_struct structures (tsk->files) 等于创建高速缓存区
2793  SLAB cache for fs_struct structures (tsk->fs) 等于创建高速缓存区
2803  mm_size等于sizeof(structmm_struct)加CPU信息的大小
2805  SLAB cache for mm_struct structures (tsk->mm) 等于kmem_cache_create_usercopy("mm_struct", mm_size, ARCH_MIN_MMSTRUCT_ALIGN, Align objs on cache lines | Panic if kmem_cache_create() fails | SLAB_ACCOUNT, offsetof(structmm_struct, saved_auxv), sizeof_field(TYPE, MEMBER)*@TYPE: The structure containing the field of interest*@MEMBER: The field to return the size of(structmm_struct, saved_auxv), NULL)
2811  SLAB cache for vm_area_struct structures 等于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_area_struct, Panic if kmem_cache_create() fails | SLAB_ACCOUNT)
2812  mmap_init()
2813  nsproxy_cache_init()
调用者
名称描述
start_kernel启动内核