Function report |
Source Code:mm\slab.c |
Create Date:2022-07-28 15:46:10 |
| Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_tune_cpucache
Proto:static int do_tune_cpucache(struct kmem_cache *cachep, int limit, int batchcount, int shared, gfp_t gfp)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kmem_cache * | cachep | |
| int | limit | |
| int | batchcount | |
| int | shared | |
| gfp_t | gfp |
| 3901 | If slab_state < FULL Then Return ret |
| 3904 | If ret < 0 || Not is_root_cache(cachep) Then Return ret |
| 3907 | lockdep_assert_held( & slab_mutex) |
| 3913 | Return ret |
| Name | Describe |
|---|---|
| enable_cpucache | |
| slabinfo_write | slabinfo_write - Tuning for the slab allocator*@file: unused*@buffer: user buffer*@count: data length*@ppos: unused* Return: %0 on success, negative error code otherwise. |
| 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 |