Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2008 17:41:37 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 134391 for review
Message-ID:  <200801291741.m0THfbIB093566@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134391

Change 134391 by hselasky@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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801291741.m0THfbIB093566>