fixed another leak in USB code

Lukas Ertl l.ertl at
Tue Jul 29 00:16:35 PDT 2003

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.



Lukas Ertl                             eMail: l.ertl at
UNIX Systemadministrator               Tel.:  (+43 1) 4277-14073
Vienna University Computer Center      Fax.:  (+43 1) 4277-9140
University of Vienna         

More information about the freebsd-current mailing list