Allocate an object
void * kmem_cache_alloc(struct kmem_cache * cachep, gfp_t flags);
cachep
The cache to allocate from.
flags
See kmalloc.
Allocate an object from this cache. The flags are only relevant if the cache has no available objects.