From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Rientjes Subject: Re: kmem_cache_alloc panic in 3.10+ Date: Fri, 31 Jan 2014 13:19:29 -0800 (PST) Message-ID: References: <1390062576.31367.519.camel@edumazet-glaptop2.roam.corp.google.com> <1391134615.28432.83.camel@edumazet-glaptop2.roam.corp.google.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Alexei Starovoitov , Eric Dumazet , netdev@vger.kernel.org, "linux-kernel@vger.kernel.org" , Alexei Starovoitov To: dormando Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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?