1KMEM_CACHE_SHRINK(9) Memory Management in Linux KMEM_CACHE_SHRINK(9)
23
4
NAME
6kmem_cache_shrink - Shrink a cache.
7
SYNOPSIS
9int kmem_cache_shrink(struct kmem_cache * cachep);
10
ARGUMENTS
12cachep
13The cache to shrink.
14
DESCRIPTION
16Releases as many slabs as possible for a cache. To help debugging, a
17zero exit status indicates all slabs were released.
18
COPYRIGHT
20Kernel Hackers Manual 2.6. June 2019 KMEM_CACHE_SHRINK(9)