Name

kmem_cache_shrink — Shrink a cache.

Synopsis

int kmem_cache_shrink (kmem_cache_t * cachep);

Arguments

cachep

The cache to shrink.

Description

Releases as many slabs as possible for a cache. To help debugging, a zero exit status indicates all slabs were released.