Re: [PATCH] slub: Fix a typo in config name

From: David Rientjes
Date: Tue Apr 12 2011 - 22:16:49 EST


On Tue, 12 Apr 2011, Christoph Lameter wrote:

> On Tue, 12 Apr 2011, Li Zefan wrote:
>
> > There's no config named SLAB_DEBUG, and it should be a typo
> > of SLUB_DEBUG.
> >
> > Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx>
> > ---
> >
> > not slub expert, don't know how this bug affects slub debugging.
>
> Affects the bootstrap code.
>

I don't see how, there should be no partial or full slabs for either
kmem_cache or kmem_cache_node at this point in the boot sequence. I think
kmem_cache_bootstrap_fixup() should only need to add the cache to the list
of slab caches and set the refcount accordingly.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/