Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751472AbWENPwX (ORCPT ); Sun, 14 May 2006 11:52:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751473AbWENPwX (ORCPT ); Sun, 14 May 2006 11:52:23 -0400 Received: from mta09-winn.ispmail.ntl.com ([81.103.221.49]:42879 "EHLO mtaout03-winn.ispmail.ntl.com") by vger.kernel.org with ESMTP id S1751472AbWENPwW (ORCPT ); Sun, 14 May 2006 11:52:22 -0400 Message-ID: <44675232.1070908@gmail.com> Date: Sun, 14 May 2006 16:52:18 +0100 From: Catalin Marinas User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pekka Enberg CC: linux-kernel@vger.kernel.org Subject: Re: [PATCH 2.6.17-rc4 1/6] Base support for kmemleak References: <20060513155757.8848.11980.stgit@localhost.localdomain> <20060513160541.8848.2113.stgit@localhost.localdomain> <84144f020605140753t67f10c3fmf754581aa74b39f5@mail.gmail.com> In-Reply-To: <84144f020605140753t67f10c3fmf754581aa74b39f5@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 996 Lines: 21 Pekka Enberg wrote: > On 5/13/06, Catalin Marinas wrote: >> This patch adds the base support for the kernel memory leak detector. It >> traces the memory allocation/freeing in a way similar to the Boehm's >> conservative garbage collector, the difference being that the orphan >> pointers are not freed but only shown in /proc/memleak. Enabling this >> feature would introduce an overhead to memory allocations. > > Hmm. How much is the overhead anyway? An additional note - the patch can be addapted so that the allocated/freed pointers are only added to a list and a background thread updates the radix tree at a later time. With this approach, the overhead to the memory allocations would be relatively small. Catalin - 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/