Function report | 
Source Code:mm\slab.c | 
Create Date:2022-07-28 15:44:13 | 
| Last Modify:2022-05-23 17:02:55 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:alloc_kmem_cache_cpus
Proto:static struct array_cache __percpu *alloc_kmem_cache_cpus(struct kmem_cache *cachep, int entries, int batchcount)
Type:struct array_cache
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kmem_cache * | cachep | |
| int | entries | |
| int | batchcount | 
| 1777 | size = size of * * entries + sizeof(structarray_cache) | 
| 1780 | If Not cpu_cache Then Return NULL | 
| 1783 | for_each_possible_cpu(cpu) | 
| 1784 | init_arraycache(per_cpu_ptr(cpu_cache, cpu), entries, batchcount) | 
| 1788 | Return cpu_cache | 
| Name | Describe | 
|---|---|
| setup_cpu_cache | |
| __do_tune_cpucache | Always called with the slab_mutex held | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |