SysTutorials

Linux Manual Pages › Section 9

kmem_cache_free(9)

kmem_cache_free - Deallocate an object

Synopsis

void kmem_cache_free(struct kmem_cache *cachep, void *objp);

Arguments

cachep

The cache the allocation was from.

objp

The previously allocated object.

Description

Free an object which was previously allocated from this cache.

Copyright