Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751837AbWJMTWA (ORCPT ); Fri, 13 Oct 2006 15:22:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751841AbWJMTWA (ORCPT ); Fri, 13 Oct 2006 15:22:00 -0400 Received: from mail.gmx.net ([213.165.64.20]:20380 "HELO mail.gmx.net") by vger.kernel.org with SMTP id S1751837AbWJMTV7 (ORCPT ); Fri, 13 Oct 2006 15:21:59 -0400 X-Authenticated: #14349625 Subject: Re: Major slab mem leak with 2.6.17 / GCC 4.1.1 From: Mike Galbraith To: nmeyers@vestmark.com Cc: linux-kernel@vger.kernel.org In-Reply-To: <20061013105502.GA9773@viviport.com> References: <20061013004918.GA8551@viviport.com> <1160727912.15431.11.camel@Homer.simpson.net> <20061013105502.GA9773@viviport.com> Content-Type: text/plain Date: Fri, 13 Oct 2006 21:28:15 +0000 Message-Id: <1160774895.6041.42.camel@Homer.simpson.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1948 Lines: 46 On Fri, 2006-10-13 at 06:55 -0400, nmeyers@vestmark.com wrote: > On Fri, Oct 13, 2006 at 08:25:12AM +0000, Mike Galbraith wrote: > > On Thu, 2006-10-12 at 20:49 -0400, nmeyers@vestmark.com wrote: > > > > > I tried Catalin Marinas' kmemleak patches, and had to rebuild with > > > GCC 3.4.6 because of a 4.1.1 compiler bug that prevents compilation > > > of the patches. > > > > Yeah, seems any remotely recent gcc hates it. That puts a rather large > > dent in usability. > > > > > And... building with 3.4.5 fixed the leak! So I guess I have very little > > > detail to report - except that there's a nasty leak in 2.6.17 when built > > > with 4.1.1. > > > > If you build using 3.4.5 _without_ the kmemleak patches, do you see the > > leak again? (ie is kmemleak altering timing, or is kernel miscompiled) > > I wondered the same thing. I went back to the original source and .config > - rebuilding with 3.4.6 (3.4.5 is a typo) fixed the leak. Hmm. That leaves us with a 4.1.1 miss-compile maybe. > > > If anyone has a version of kmemleak that I can build with 4.1.1, or > > > any other suggestions for instrumentation, I'd be happy to gather more > > > data - the problem is very easy for me to reproduce. > > > > I can only suggest trying latest/greatest to see if the issue is still > > present, and if so, try to find a way that others may trigger it. > > I may just do that - apparently 4.1.2 is supposed to fix the kmemleak > compile problem. My (admittedly lazy) inclination is to wait until that > comes out in a Gentoo ebuild. I think some re-evaluation is needed. (fwiw, I tried a pre-release 4.1.2 compiler, and it still choked... I didn't even look, so salt to taste) -Mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/