cvs commit: src/sys/arm/conf NSLU

M. Warner Losh imp at bsdimp.com
Tue Sep 9 01:00:12 UTC 2008


In message: <alpine.BSF.1.10.0809080923260.88186 at fledge.watson.org>
            Robert Watson <rwatson at FreeBSD.org> writes:
: 
: On Mon, 8 Sep 2008, Warner Losh wrote:
: 
: >  Commit the no-brainer parts of my space saving kernel experiments.  We
: >  don't inline the locking primitives, and only grab those parts of mii
: >  that we really need.  Other space optimizations are too agressive for
: >  the generic file (removing all of usb, and loading it as kernel
: >  modules).
: 
: It's been a few years since we selected defaults on lock inlining (and other 
: optional parameters), and it might well be time to re-evaluate our defaults. 
: Cache footprint on code continues to play a significant role in performance, 
: the trade-offs for function invocation have changed quite a bit over the 
: years.  A more thorough performance analysis of lock inlining is probably 
: overdue for all platforms, not just small embedded ones.

Agreed.  I don't know if it is faster on the embedded platforms, but
it makes such a huge space difference as to be well worth it...

Warner


More information about the cvs-all mailing list