Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2003 09:16:17 +0200 (CEST)
From:      Lukas Ertl <l.ertl@univie.ac.at>
To:        John-Mark Gurney <gurney_j@efn.org>
Cc:        current@freebsd.org
Subject:   Re: fixed another leak in USB code
Message-ID:  <20030729091605.U814@leelou.in.tern>
In-Reply-To: <20030729051133.GV10708@funkthat.com>
References:  <20030729051133.GV10708@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 28 Jul 2003, John-Mark Gurney wrote:

> Ok, those of you coming with panics due to kmem exhaustion w/ USB, I
> have fixed another leak.  For some reason I assumed that big blocks
> were being deallocated upon free, not being put back on the freelist.
> (Have I mentioned how much it sucks that the USB code it self has five
> different allocators?)
>
> As mentioned in the commit message, I did some testing, and a simple
> bulk transfer over aue did not increase the devbuf memory usage, while
> before this patch, I got it quickly over 20megs and growing.
>
> Sorry for the breakage.

Thanks!

regards,
le

-- 
Lukas Ertl                             eMail: l.ertl@univie.ac.at
UNIX Systemadministrator               Tel.:  (+43 1) 4277-14073
Vienna University Computer Center      Fax.:  (+43 1) 4277-9140
University of Vienna                   http://mailbox.univie.ac.at/~le/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030729091605.U814>