PERFORCE change 155820 for review

Hans Petter Selasky hselasky at freebsd.org
Thu Jan 8 19:06:41 UTC 2009


On Thursday 08 January 2009, M. Warner Losh wrote:
> In message: <200901081532.n08FWPDx031982 at repoman.freebsd.org>
>
>             Hans Petter Selasky <hselasky at FreeBSD.org> writes:
> : 	USB memory usage reduction patch.
>
> This likely needs to be more descriptive.

Hi,

The change is about making the bus->devices array size dynamic. For embedded 
purpuse you can reduce the array size to save memory. Also in some cases like 
USB Device Mode you don't use more than 3 entries.

Even though the wasted size is not much, 4*124 bytes, it needs to go away.

--HPS


More information about the p4-projects mailing list