Re: [RFC] SL[AUO]B common code 8/9] slabs: list addition move to slab_common

Christoph Lameter
2012-05-17T14:09:15Z

On Thu, 17 May 2012, Glauber Costa wrote:

> On 05/16/2012 06:33 PM, Christoph Lameter wrote:
> > > > Also, the only reasons it exists, seems to be to go around the fact
> > > that the
> > > > slab already adds the kmalloc caches to a list in a slightly different
> > > way.
> > > > And there has to be cleaner ways to achieve that.
> > The reason it exists is to distinguish the case of an alias creation from
> > a true kmem_cache instatiation. The alias does not need to be added to the
> > list of slabs.
> >
> Worth a comment, then, maybe ? It tricked me a bit

Ok.