Re: kmem_cache_alloc panic in 3.10+

From: David Rientjes
Date: Fri Jan 31 2014 - 16:19:55 EST


On Thu, 30 Jan 2014, dormando wrote:

> > > I really wonder... it looks like a possible in SLUB. (might be already
> > > fixed)
> > >
> > > Could you try using SLAB instead ?
> >
> > try config_slub_debug_on=y ? it should catch double free and other things.
> >
>
> Any slowdowns/issues with that?

CONFIG_SLUB_DEBUG_ON will definitely be slower but can help to identify
any possible corruption issues.

I'm wondering if you have CONFIG_MEMCG enabled and are actually allocating
slab in a non-root memcg? What does /proc/self/cgroup say?
--
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/