Date: Wed, 26 Feb 2014 14:02:08 -0800 From: Warner Losh <bsdimp@gmail.com> To: John-Mark Gurney <jmg@funkthat.com> Cc: arch@FreeBSD.org Subject: Re: small kernel kernel option... Message-ID: <5BA6FA29-0BBE-45C1-B734-29013C5A2D29@bsdimp.com> In-Reply-To: <20140226214816.GB92037@funkthat.com> References: <20140226214816.GB92037@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 26, 2014, at 1:48 PM, John-Mark Gurney <jmg@funkthat.com> wrote: > I'm about to commit a change to sha256 to speed it up, but the cost > of that speed up is an increase in code/data size from just under 1k > to almost 9k (as measured on amd64)... this increase is from = unrolling > a loop.. >=20 > Maybe we should have a global kernel option, SMALL_KERNEL, or = something > similar that can be used to shrink code size for those that are trying > to build small embedded devices=85 I=92d prefer something that=92s more like OPTIMIZE_SIZE or = OPTIMIZE_SPEED. > Or do we already have this option, but I just don't know about it? We don=92t have it. We have a billion tiny knobs. > I know 8k isn't much, but, a billion here and a billion there and = pretty > soon you're talking about real money.. :) yea=85 There=92s lots that can be done here, since most folks don=92t = bother with this=85 Warner > Comments? >=20 > --=20 > John-Mark Gurney Voice: +1 415 225 5579 >=20 > "All that I will do, has been done, All that I have, has not." > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to = "freebsd-arch-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5BA6FA29-0BBE-45C1-B734-29013C5A2D29>