Hello!

I think that there is a memory leak in usb-uhci. I am pretty 
sure there is, because this memory leak occurs only when using usb-uhci. When 
uhci is used there is no leak. This is tested under stock kernel 2.4.18 and 
SuSE 8.1 version of 2.4.19.

Used hardware is of custom USB brand, driver also.

There are 2 interrupt endpoints, IN and OUT. One URB per endpoint is allocated 
at "probe" time eg. device connect. At the same time IN endpoint URB is 
submited. OUT URB si submitted many times (one-shot). Approx. 268 times per 
second.
At the same time IN ep receives cca. 266 URB's per second.

When using usb-uhci, memory usage grows at approx. 16 kb/sec. Until the point 
where all physical RAM is eaten up. Then, only reboot helps of course...

After that test, when "rmmod" usb-uhci, kernel log is full of the following:
Nov 26 17:38:58 equinoxe kernel: pci_pool_destroy 00:11.4/uhci_desc, c2d6f000 
busy

With different addresses of course. 

When using uhci instead of usb-uhci, memory usage is constant and there are no 
error messages on rmmod.

I could switch to using uhci but usb-uhci showed itself to be more stable 
under some situations. Well, apart from this problem...

All comments are appreciated!




-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to