All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Markus Rechberger <mrechberger@gmail.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>,
	linux-media@vger.kernel.org, bugme-daemon@bugzilla.kernel.org,
	nm127@freemail.hu
Subject: Re: [Bugme-new] [Bug 12768] New: usb_alloc_urb() leaks memory together with uvcvideo driver
Date: Tue, 24 Feb 2009 19:23:30 -0800	[thread overview]
Message-ID: <20090224192330.338302fa.akpm@linux-foundation.org> (raw)
In-Reply-To: <d9def9db0902241815i7e0d8e90k59824c5a83534e2c@mail.gmail.com>

On Wed, 25 Feb 2009 03:15:35 +0100 Markus Rechberger <mrechberger@gmail.com> wrote:

> On Wed, Feb 25, 2009 at 3:02 AM, Mauro Carvalho Chehab
> <mchehab@infradead.org> wrote:
> > On Tue, 24 Feb 2009 13:57:20 -0800
> > Andrew Morton <akpm@linux-foundation.org> wrote:
> >
> >>> > In the output of /proc/slab_allocators the number of blocks allocated by
> >> > usb_alloc_urb() increases, however, the xawtv is no longer running:
> >> >
> >> > size-2048: 18 usb_alloc_dev+0x1d/0x212 [usbcore]
> >> > size-2048: 2280 usb_alloc_urb+0xc/0x2b [usbcore]
> >> > size-1024: 100 usb_alloc_urb+0xc/0x2b [usbcore]
> >> > size-128: 10 usb_alloc_urb+0xc/0x2b [usbcore]
> >> >
> >> > Each time xawtv is started and stopped the value increases at the
> >> > usb_alloc_urb().
> >> >
> >> > Expected result: the same memory usage is reached again after xawtv exited.
> >> >
> >>
> >> I assume this is a v4l bug and not a USB core bug?
> >
> > I guess this is a v4l bug. We've found several memory leaks on em28xx driver,
> > fixed at the development -git:
> >
> > http://git.kernel.org/?p=linux/kernel/git/mchehab/devel.git
> >
> > I'll do some tests again with the latest em28xx driver to double check if it is
> > there any other memory leak. If not, then we could replicate the same approach
> > into uvcvideo.
> >
> 
> haha you never even had a look at the issue itself.

What a perfectly useless comment.

  reply	other threads:[~2009-02-25  3:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-12768-10286@http.bugzilla.kernel.org/>
2009-02-24 21:57 ` [Bugme-new] [Bug 12768] New: usb_alloc_urb() leaks memory together with uvcvideo driver Andrew Morton
2009-02-24 22:37   ` Markus Rechberger
2009-02-25  2:02   ` Mauro Carvalho Chehab
2009-02-25  2:15     ` Markus Rechberger
2009-02-25  3:23       ` Andrew Morton [this message]
2009-02-25  3:35         ` Markus Rechberger
2009-02-25  7:44           ` Németh Márton
2009-02-25 12:49             ` Mauro Carvalho Chehab
2009-02-25 21:55               ` Laurent Pinchart
2009-02-26  1:39                 ` Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090224192330.338302fa.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=bugme-daemon@bugzilla.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=mrechberger@gmail.com \
    --cc=nm127@freemail.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.