PERFORCE change 134391 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Tue Jan 29 09:41:39 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=134391
Change 134391 by hselasky at hselasky_laptop001 on 2008/01/29 17:41:28
Improve memory reduction patch.
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb/usb_subr.c#92 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb/usb_subr.c#92 (text+ko) ====
@@ -2384,7 +2384,9 @@
* memory, hence we sometimes to a large number of
* small allocations!
*/
+ if (size < USB_PAGE_SIZE) {
size *= 2;
+ }
#endif
}
/* get the correct DMA tag */
More information about the p4-projects
mailing list