Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932079Ab1C3NRH (ORCPT ); Wed, 30 Mar 2011 09:17:07 -0400 Received: from mail-qy0-f181.google.com ([209.85.216.181]:59994 "EHLO mail-qy0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754657Ab1C3NRE (ORCPT ); Wed, 30 Mar 2011 09:17:04 -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=fVrDC2zUwzv03Kcb7csisWhCF9411g9W61/V461iWC1RQX1t0IqvyrASiC0mMDtp5v 5LfVBlhjZHzC1DYynolwenHI/d+eQkcgVuaaFFWdsR4U1hlEuYFUED33MrQtaSnkKD0u qCm29FFbSWfyKC0Ehd8c0ugFzHpZxyEZEUCl0= MIME-Version: 1.0 In-Reply-To: References: <9bde694e1003020554p7c8ff3c2o4ae7cb5d501d1ab9@mail.gmail.com> <1300960540.32158.13.camel@e102109-lin.cambridge.arm.com> <1301395206.583.53.camel@e102109-lin.cambridge.arm.com> <1301399454.583.66.camel@e102109-lin.cambridge.arm.com> <1301476505.29074.47.camel@e102109-lin.cambridge.arm.com> <1301485085.29074.61.camel@e102109-lin.cambridge.arm.com> <1301488032.3283.42.camel@edumazet-laptop> Date: Wed, 30 Mar 2011 14:17:03 +0100 Message-ID: Subject: Re: kmemleak for MIPS From: Maxin John To: Daniel Baluta Cc: Catalin Marinas , naveen yadav , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Eric Dumazet Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1353 Lines: 39 Hi, I have compiled the kernel with below given modification in .config CONFIG_CMDLINE="uhash_entries=256" After booting with the new kernel, the "kmemleak" no longer complains about the "udp_table_init". However it do report another possible leak :) debian-mips:~# cat /sys/kernel/debug/kmemleak unreferenced object 0x8f085000 (size 4096): comm "swapper", pid 1, jiffies 4294937670 (age 1043.280s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<801ac7a8>] __kmalloc+0x130/0x180 [<80532500>] flow_cache_cpu_prepare+0x50/0xa8 [<8052378c>] flow_cache_init_global+0x90/0x138 [<80100584>] do_one_initcall+0x174/0x1e0 [<8050c348>] kernel_init+0xe4/0x174 [<80103d4c>] kernel_thread_helper+0x10/0x18 debian-mips:~# > So, I guess everything is fine regarding udp_init_table. We can move on, > integrating MIPS support for kmemleak :). > I completely agree with Daniel. Shall we move on and integrate the kmemleak support for MIPS ? Cheers, Maxin -- 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/