Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 2009 19:08:57 +0100
From:      Hans Petter Selasky <hselasky@freebsd.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        perforce@freebsd.org
Subject:   Re: PERFORCE change 155820 for review
Message-ID:  <200901081908.57867.hselasky@freebsd.org>
In-Reply-To: <20090108.103306.1683974155.imp@bsdimp.com>
References:  <200901081532.n08FWPDx031982@repoman.freebsd.org> <20090108.103306.1683974155.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 08 January 2009, M. Warner Losh wrote:
> In message: <200901081532.n08FWPDx031982@repoman.freebsd.org>
>
>             Hans Petter Selasky <hselasky@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



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