device driver memory leak in 5.1-20030726?
gurney_j at efn.org
Sun Jul 27 22:46:52 PDT 2003
Scott Long wrote this message on Sun, Jul 27, 2003 at 23:33 -0600:
> John-Mark Gurney wrote:
> >It may be leaking, but it won't be leaking devbuf memory. The only
> >thing that is in usb (in dev/usb) that uses M_DEVBUF is ukbd.
> bus_dma_tag_create() allocates out of M_DEVBUF. Could it be that tags
> are being created and never destroyed?
Ugh, yes, it does. :( What is the point of having malloc areas if
everything uses them? I just checked and about every driver allocates
memory under DEVBUF. Is there some reason why we don't allocate more
malloc types to make this type of thing more easy to debug?
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-current