Re: fixed another leak in USB code

From: Lukas Ertl <l.ertl_at_univie.ac.at>
Date: Tue, 29 Jul 2003 09:16:17 +0200 (CEST)
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_at_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/
Received on Mon Jul 28 2003 - 22:16:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:16 UTC