From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from cam-admin0.cambridge.arm.com ([193.131.176.58]:33828 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934364AbZIDWc7 (ORCPT ); Fri, 4 Sep 2009 18:32:59 -0400 Subject: Re: kmemleak reports on wireless-testing master-2009-09-04 + kmemleak tree From: Catalin Marinas To: "Luis R. Rodriguez" Cc: linux-wireless In-Reply-To: <43e72e890909041515s38e7c502kf552a5cf90e99d94@mail.gmail.com> References: <43e72e890909041515s38e7c502kf552a5cf90e99d94@mail.gmail.com> Content-Type: text/plain Date: Fri, 04 Sep 2009 23:32:59 +0100 Message-Id: <1252103579.21380.10.camel@pc1117.cambridge.arm.com> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Fri, 2009-09-04 at 15:15 -0700, Luis R. Rodriguez wrote: > I get these with today's wireless-testing + pulling Catalin's kmemleak > tree. I nothing upon bootup, and then after a while I force a scan and > get (besides some other acpi stuff): > > unreferenced object 0xffff880039c7d700 (size 256): > comm "events/1", pid 10, jiffies 4295050369 > 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: > [] kmemleak_alloc+0x25/0x60 > [] kmem_cache_alloc_node+0x193/0x200 > [] __alloc_skb+0x4a/0x180 > [] wireless_send_event+0x1f2/0x410 > [] ___cfg80211_scan_done+0xe4/0x110 [cfg80211] > [] __cfg80211_scan_done+0x26/0x50 [cfg80211] > [] worker_thread+0x1d0/0x380 > [] kthread+0xa6/0xb0 > [] child_rip+0xa/0x20 > [] 0xffffffffffffffff If you force a few scans, do we still get the same objects reported as leaks? > unreferenced object 0xffff8800322bd000 (size 4096): > comm "events/1", pid 10, jiffies 4295050369 > hex dump (first 32 bytes): > 38 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 8............... > 00 00 01 00 03 00 00 00 43 10 01 00 00 00 00 00 ........C....... > backtrace: > [] kmemleak_alloc+0x25/0x60 > [] __kmalloc_node_track_caller+0x1ab/0x220 > [] __alloc_skb+0x7b/0x180 > [] wireless_send_event+0x1f2/0x410 > [] ___cfg80211_scan_done+0xe4/0x110 [cfg80211] > [] __cfg80211_scan_done+0x26/0x50 [cfg80211] > [] worker_thread+0x1d0/0x380 > [] kthread+0xa6/0xb0 > [] child_rip+0xa/0x20 > [] 0xffffffffffffffff This is probably referenced from the first one, so we usually need to look into the first reported leak. -- Catalin