Re: [PATCH] mm/slub: Switch slub_debug kernel option to early_paramto avoid boot panic

From: Andreas Herrmann
Date: Wed Nov 06 2013 - 14:22:04 EST


On Wed, Nov 06, 2013 at 02:16:33PM -0500, Christoph Lameter wrote:
> On Wed, 6 Nov 2013, Andreas Herrmann wrote:
>
> > When I've used slub_debug kernel option (e.g.
> > "slub_debug=,skbuff_fclone_cache" or similar) on a debug session I've
> > seen a panic like:
>
> Hmmm.. That looks like its due to some slabs not having names
> during early boot. kmem_cache_flags is called with NULL as a parameter.
>
> Are you sure that this fixes the issue?

?

Sure, of course I've tested my patch as I required slub debugging.
Panic was gone and debugging of the selected slab enabled.


Andreas
--
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/