Re: [RFC] SL[AUO]B common code 5/9] slabs: Common definition for boot state of the slab allocators

Christoph Lameter
2012-05-16T15:44:45Z

On Wed, 16 May 2012, Glauber Costa wrote:

> > @@ -117,10 +117,6 @@ int kmem_cache_shrink(struct kmem_cache
> > void kmem_cache_free(struct kmem_cache *, void *);
> > unsigned int kmem_cache_size(struct kmem_cache *);
> >
> > -/* Slab internal function */
> > -struct kmem_cache *__kmem_cache_create(const char *, size_t, size_t,
> > - unsigned long,
> > - void (*)(void *));
> > /*
> > * Please use this macro to create slab caches. Simply specify the
> > * name of the structure and maybe some flags that are listed above.
> >
>
> Should be in an earlier patch...

This patch moves the definition to mm/slab.h since it is only used for
allocators.