Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752027Ab3CNUcs (ORCPT ); Thu, 14 Mar 2013 16:32:48 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:35431 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752288Ab3CNUcr (ORCPT ); Thu, 14 Mar 2013 16:32:47 -0400 Date: Thu, 14 Mar 2013 16:32:46 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Soeren Moch cc: Arnd Bergmann , USB list , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , , Kernel development list , Subject: Re: [PATCH] USB: EHCI: fix for leaking isochronous data In-Reply-To: <51421B89.6020308@web.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1025 Lines: 26 On Thu, 14 Mar 2013, Soeren Moch wrote: > >> I added a debug message to > >> drivers/usb/host/ehci-sched.c:itd_urb_transaction() to log the > >> allocation flags, see log below. > > > > But it looks like you didn't add a message to end_free_itds(), so we > > don't know when the memory gets deallocated. And you didn't print out > > the values of urb, num_itds, and i, or the value of itd (so we can > > match up allocations against deallocations). > > OK, I will implement this more detailed logging. But with several > allocations per second and runtime of several hours this will result in > a very long logfile. If the memory really is being leaked here in some sort of systematic way, we may be able to see it in your debugging output after a few seconds. Alan Stern -- 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/