Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 13:48:16 -0800
From:      John-Mark Gurney <jmg@funkthat.com>
To:        arch@FreeBSD.org
Subject:   small kernel kernel option...
Message-ID:  <20140226214816.GB92037@funkthat.com>

next in thread | raw e-mail | index | archive | help
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..

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...

Or do we already have this option, but I just don't know about it?

I know 8k isn't much, but, a billion here and a billion there and pretty
soon you're talking about real money.. :)

Comments?

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



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