kmem_cache_shrink(9)

kmem_cache_shrink9

Shrink a cache.

Usage

int kmem_cache_shrink(struct kmem_cache * cachep);

Arguments

cachep

The cache to shrink.

Overview

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

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From linux-manual-3.2 3.2.78-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.