Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754168Ab0FGKAP (ORCPT ); Mon, 7 Jun 2010 06:00:15 -0400 Received: from mail-vw0-f46.google.com ([209.85.212.46]:38280 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751588Ab0FGKAL (ORCPT ); Mon, 7 Jun 2010 06:00:11 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fwcVcC9g3Eb5T8vyQOhlyyEyvJGsFSeYinP3HN3hKkwqI3jFmfzH5jXzvZyZ+ZeFnS osV2cnjvjeY4SZL5HH8BgQsht4CZUXTY+dTuGPL730RHi+Q13Dmg5yLg2GKopL7DRMjp YB6E5Jwu/bWqvs7DvvKh4g1E3T2c7cd7wDJvg= MIME-Version: 1.0 In-Reply-To: <1275902395.7258.9.camel@toshiba-laptop> References: <1275902395.7258.9.camel@toshiba-laptop> Date: Mon, 7 Jun 2010 18:00:10 +0800 Message-ID: Subject: Re: mmotm 2010-06-03-16-36 lots of suspected kmemleak From: Dave Young To: Catalin Marinas Cc: Andrew Morton , Linux Kernel Mailing List , linux-mm@kvack.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9716 Lines: 241 On Mon, Jun 7, 2010 at 5:19 PM, Catalin Marinas wrote: > On Mon, 2010-06-07 at 06:20 +0100, Dave Young wrote: >> On Fri, Jun 4, 2010 at 9:55 PM, Dave Young wrote: >> > On Fri, Jun 4, 2010 at 6:50 PM, Catalin Marinas wrote: >> >> Dave Young wrote: >> >>> With mmotm 2010-06-03-16-36, I gots tuns of kmemleaks >> >> >> >> Do you have CONFIG_NO_BOOTMEM enabled? I posted a patch for this but >> >> hasn't been reviewed yet (I'll probably need to repost, so if it fixes >> >> the problem for you a Tested-by would be nice): >> >> >> >> http://lkml.org/lkml/2010/5/4/175 >> > >> > >> > I'd like to test, but I can not access the test pc during weekend. So >> > I will test it next monday. >> >> Bad news, the patch does not fix this issue. > > Thanks for trying. Could you please just disable CONFIG_NO_BOOTMEM and > post the kmemleak reported leaks again? > Still too many suspected leaks, results similar with (CONFIG_NO_BOOTMEM = y && apply your patch), looks like a little different from original ones? I just copy some of them here: unreferenced object 0xde3c7420 (size 44): comm "bash", pid 1631, jiffies 4294897023 (age 223.573s) hex dump (first 32 bytes): 05 05 00 00 ad 4e ad de ff ff ff ff ff ff ff ff .....N.......... 98 42 d9 c1 00 00 00 00 50 fe 63 c1 10 32 8f dd .B......P.c..2.. backtrace: [] kmemleak_alloc+0x4a/0x83 [] kmem_cache_alloc+0xde/0x12a [] anon_vma_fork+0x31/0x88 [] dup_mm+0x1d3/0x38f [] copy_process+0x8ce/0xf39 [] do_fork+0x118/0x295 [] sys_clone+0x1f/0x24 [] ptregs_clone+0x15/0x24 [] 0xffffffff unreferenced object 0xde3c73f0 (size 44): comm "bash", pid 1631, jiffies 4294897023 (age 223.573s) hex dump (first 32 bytes): 02 02 00 00 ad 4e ad de ff ff ff ff ff ff ff ff .....N.......... 98 42 d9 c1 00 00 00 00 50 fe 63 c1 10 32 8f dd .B......P.c..2.. backtrace: [] kmemleak_alloc+0x4a/0x83 [] kmem_cache_alloc+0xde/0x12a [] anon_vma_fork+0x31/0x88 [] dup_mm+0x1d3/0x38f [] copy_process+0x8ce/0xf39 [] do_fork+0x118/0x295 [] sys_clone+0x1f/0x24 [] ptregs_clone+0x15/0x24 [] 0xffffffff unreferenced object 0xde3c73c0 (size 44): comm "bash", pid 1631, jiffies 4294897023 (age 223.573s) hex dump (first 32 bytes): 02 02 00 00 ad 4e ad de ff ff ff ff ff ff ff ff .....N.......... 98 42 d9 c1 00 00 00 00 50 fe 63 c1 e0 31 8f dd .B......P.c..1.. backtrace: [] kmemleak_alloc+0x4a/0x83 [] kmem_cache_alloc+0xde/0x12a [] anon_vma_fork+0x31/0x88 [] dup_mm+0x1d3/0x38f [] copy_process+0x8ce/0xf39 [] do_fork+0x118/0x295 [] sys_clone+0x1f/0x24 [] ptregs_clone+0x15/0x24 [] 0xffffffff unreferenced object 0xde3c7570 (size 44): comm "bash", pid 1631, jiffies 4294897023 (age 223.573s) hex dump (first 32 bytes): 02 02 00 00 ad 4e ad de ff ff ff ff ff ff ff ff .....N.......... 98 42 d9 c1 00 00 00 00 50 fe 63 c1 e0 31 8f dd .B......P.c..1.. backtrace: [] kmemleak_alloc+0x4a/0x83 [] kmem_cache_alloc+0xde/0x12a [] anon_vma_fork+0x31/0x88 [] dup_mm+0x1d3/0x38f [] copy_process+0x8ce/0xf39 [] do_fork+0x118/0x295 [] sys_clone+0x1f/0x24 [] ptregs_clone+0x15/0x24 [] 0xffffffff unreferenced object 0xde3c7390 (size 44): comm "bash", pid 1631, jiffies 4294897023 (age 223.573s) hex dump (first 32 bytes): 05 05 00 00 ad 4e ad de ff ff ff ff ff ff ff ff .....N.......... 98 42 d9 c1 00 00 00 00 50 fe 63 c1 b0 31 8f dd .B......P.c..1.. backtrace: [] kmemleak_alloc+0x4a/0x83 [] kmem_cache_alloc+0xde/0x12a [] anon_vma_fork+0x31/0x88 [] dup_mm+0x1d3/0x38f [] copy_process+0x8ce/0xf39 [] do_fork+0x118/0x295 [] sys_clone+0x1f/0x24 [] ptregs_clone+0x15/0x24 [] 0xffffffff unreferenced object 0xde3c7540 (size 44): comm "bash", pid 1631, jiffies 4294897023 (age 223.576s) hex dump (first 32 bytes): 02 02 00 00 ad 4e ad de ff ff ff ff ff ff ff ff .....N.......... 98 42 d9 c1 00 00 00 00 50 fe 63 c1 b0 31 8f dd .B......P.c..1.. backtrace: [] kmemleak_alloc+0x4a/0x83 [] kmem_cache_alloc+0xde/0x12a [] anon_vma_fork+0x31/0x88 [] dup_mm+0x1d3/0x38f [] copy_process+0x8ce/0xf39 [] do_fork+0x118/0x295 [] sys_clone+0x1f/0x24 [] ptregs_clone+0x15/0x24 [] 0xffffffff unreferenced object 0xde3c7360 (size 44): comm "bash", pid 1631, jiffies 4294897023 (age 223.576s) hex dump (first 32 bytes): 05 05 00 00 ad 4e ad de ff ff ff ff ff ff ff ff .....N.......... 98 42 d9 c1 00 00 00 00 50 fe 63 c1 40 32 8f dd .B......P.c.@2.. backtrace: [] kmemleak_alloc+0x4a/0x83 [] kmem_cache_alloc+0xde/0x12a [] anon_vma_fork+0x31/0x88 [] dup_mm+0x1d3/0x38f [] copy_process+0x8ce/0xf39 [] do_fork+0x118/0x295 [] sys_clone+0x1f/0x24 [] ptregs_clone+0x15/0x24 [] 0xffffffff unreferenced object 0xde3c7330 (size 44): comm "bash", pid 1631, jiffies 4294897023 (age 223.576s) hex dump (first 32 bytes): 02 02 00 00 ad 4e ad de ff ff ff ff ff ff ff ff .....N.......... 98 42 d9 c1 00 00 00 00 50 fe 63 c1 40 32 8f dd .B......P.c.@2.. backtrace: [] kmemleak_alloc+0x4a/0x83 [] kmem_cache_alloc+0xde/0x12a [] anon_vma_fork+0x31/0x88 [] dup_mm+0x1d3/0x38f [] copy_process+0x8ce/0xf39 [] do_fork+0x118/0x295 [] sys_clone+0x1f/0x24 [] ptregs_clone+0x15/0x24 [] 0xffffffff unreferenced object 0xde3c7510 (size 44): comm "bash", pid 1631, jiffies 4294897023 (age 223.576s) hex dump (first 32 bytes): 03 03 00 00 ad 4e ad de ff ff ff ff ff ff ff ff .....N.......... 98 42 d9 c1 00 00 00 00 50 fe 63 c1 90 30 8f dd .B......P.c..0.. backtrace: [] kmemleak_alloc+0x4a/0x83 [] kmem_cache_alloc+0xde/0x12a [] anon_vma_fork+0x31/0x88 [] dup_mm+0x1d3/0x38f [] copy_process+0x8ce/0xf39 [] do_fork+0x118/0x295 [] sys_clone+0x1f/0x24 [] ptregs_clone+0x15/0x24 [] 0xffffffff unreferenced object 0xde3c75a0 (size 44): comm "bash", pid 1631, jiffies 4294897023 (age 223.576s) hex dump (first 32 bytes): 02 02 00 00 ad 4e ad de ff ff ff ff ff ff ff ff .....N.......... 98 42 d9 c1 00 00 00 00 50 fe 63 c1 60 30 8f dd .B......P.c.`0.. backtrace: [] kmemleak_alloc+0x4a/0x83 [] kmem_cache_alloc+0xde/0x12a [] anon_vma_fork+0x31/0x88 [] dup_mm+0x1d3/0x38f [] copy_process+0x8ce/0xf39 [] do_fork+0x118/0x295 [] sys_clone+0x1f/0x24 [] ptregs_clone+0x15/0x24 [] 0xffffffff unreferenced object 0xde3c74b0 (size 44): comm "bash", pid 1631, jiffies 4294897023 (age 223.576s) hex dump (first 32 bytes): 02 02 00 00 ad 4e ad de ff ff ff ff ff ff ff ff .....N.......... 98 42 d9 c1 00 00 00 00 50 fe 63 c1 60 30 8f dd .B......P.c.`0.. backtrace: [] kmemleak_alloc+0x4a/0x83 [] kmem_cache_alloc+0xde/0x12a [] anon_vma_fork+0x31/0x88 [] dup_mm+0x1d3/0x38f [] copy_process+0x8ce/0xf39 [] do_fork+0x118/0x295 [] sys_clone+0x1f/0x24 [] ptregs_clone+0x15/0x24 [] 0xffffffff unreferenced object 0xde3c7b70 (size 44): comm "ps", pid 1666, jiffies 4294897029 (age 223.560s) hex dump (first 32 bytes): 04 04 00 00 ad 4e ad de ff ff ff ff ff ff ff ff .....N.......... 98 42 d9 c1 00 00 00 00 50 fe 63 c1 70 7b 3c de .B......P.c.p{<. backtrace: [] kmemleak_alloc+0x4a/0x83 [] kmem_cache_alloc+0xde/0x12a [] anon_vma_prepare+0x72/0x12e [] handle_mm_fault+0x153/0x60d [] do_page_fault+0x2ee/0x304 [] error_code+0x6b/0x70 [] 0xffffffff unreferenced object 0xde3c7b40 (size 44): comm "ps", pid 1666, jiffies 4294897029 (age 223.560s) hex dump (first 32 bytes): 04 04 00 00 ad 4e ad de ff ff ff ff ff ff ff ff .....N.......... 98 42 d9 c1 00 00 00 00 50 fe 63 c1 40 7b 3c de .B......P.c.@{<. backtrace: [] kmemleak_alloc+0x4a/0x83 [] kmem_cache_alloc+0xde/0x12a [] anon_vma_prepare+0x72/0x12e [] handle_mm_fault+0x153/0x60d [] do_page_fault+0x2ee/0x304 [] error_code+0x6b/0x70 [] generic_file_aio_read+0x398/0x5ce [] do_sync_read+0x8c/0xca [] vfs_read+0x81/0xdb [] sys_read+0x3b/0x60 [] syscall_call+0x7/0xb [] 0xffffffff > Thanks. > > -- > Catalin > > -- Regards dave -- 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/