Function report |
Source Code:mm\slab_common.c |
Create Date:2022-07-28 14:29:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kmem_cache_shrink_all - shrink a cache and all memcg caches for root cache*@s: The cache pointer
Proto:void kmem_cache_shrink_all(struct kmem_cache *s)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kmem_cache * | s |
| 1011 | get_online_cpus() |
| 1012 | get_online_mems() |
| 1013 | kasan_cache_shrink(s) |
| 1014 | __kmem_cache_shrink(s) |
| 1020 | mutex_lock( & slab_mutex) |
| 1025 | If Used for retrieving partial slabs, etc. & Slab deactivation flag Then Continue |
| 1027 | kasan_cache_shrink(c) |
| 1028 | __kmem_cache_shrink(c) |
| 1031 | put_online_mems() |
| 1032 | put_online_cpus() |
| 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 |