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

Glauber Costa
2012-05-17T09:41:33Z

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