函数逻辑报告 |
Source Code:mm\slab.c |
Create Date:2022-07-27 17:20:02 |
Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Always called with the slab_mutex held
函数原型:static int __do_tune_cpucache(struct kmem_cache *cachep, int limit, int batchcount, int shared, gfp_t gfp)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kmem_cache * | cachep | |
int | limit | |
int | batchcount | |
int | shared | |
gfp_t | gfp |
3853 | cpu_cache等于alloc_kmem_cache_cpus(cachep, limit, batchcount) |
3863 | 如果prev则kick_all_cpus_sync() |
3866 | check_irq_on() |
3867 | batchcount等于batchcount |
3871 | 如果非prev则转到:setup_node |
3878 | ac等于per_cpu_ptr(prev, cpu) |
3880 | node等于cpu_to_mem(cpu) |
3882 | spin_lock_irq( & list_lock) |
3884 | spin_unlock_irq( & list_lock) |
3885 | slabs_destroy(cachep, & list) |
3887 | 释放内存 |
3889 | setup_node : |
名称 | 描述 |
---|---|
do_tune_cpucache |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |