Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964841AbWJPIiA (ORCPT ); Mon, 16 Oct 2006 04:38:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964842AbWJPIiA (ORCPT ); Mon, 16 Oct 2006 04:38:00 -0400 Received: from mail.gmx.de ([213.165.64.20]:44164 "HELO mail.gmx.net") by vger.kernel.org with SMTP id S964841AbWJPIh7 (ORCPT ); Mon, 16 Oct 2006 04:37:59 -0400 X-Authenticated: #14349625 Subject: Re: Major slab mem leak with 2.6.17 / GCC 4.1.1 From: Mike Galbraith To: Catalin Marinas Cc: Pekka Enberg , "nmeyers@vestmark.com" , linux-kernel@vger.kernel.org In-Reply-To: References: <20061013004918.GA8551@viviport.com> <84144f020610122256p7f615f93lc6d8dcce7be39284@mail.gmail.com> <1160899154.5935.19.camel@Homer.simpson.net> <1160976752.6477.3.camel@Homer.simpson.net> Content-Type: text/plain Date: Mon, 16 Oct 2006 09:08:30 +0000 Message-Id: <1160989710.17131.14.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: 1093 Lines: 25 On Mon, 2006-10-16 at 09:07 +0100, Catalin Marinas wrote: > On 16/10/06, Mike Galbraith wrote: > > On Sun, 2006-10-15 at 07:59 +0000, Mike Galbraith wrote: > > > > > 2.6.19-rc1 + patch-2.6.19-rc1-kmemleak-0.11 compiles fine now (unless > > > CONFIG_DEBUG_KEEP_INIT is set), boots and runs too.. but axle grease > > > runs a lot faster ;-) I'll try a stripped down config sometime. > > > > My roughly three orders of magnitude (amusing to watch:) boot slowdown > > turned out to be stack unwinding. With CONFIG_UNWIND_INFO disabled, > > 2.6.19-rc2 + patch-2.6.19-rc1-kmemleak-0.11 runs just fine. > > Kmemleak introduces some overhead but shouldn't be that bad. > DEBUG_SLAB also introduces an overhead by erasing the data in the > allocated blocks. 2.6.18 with your rc6 patch booted normally with stack unwind enabled. -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/