Subject: Re: inlining & size
To: Hubert Feyrer <>
From: Todd Vierling <>
List: tech-kern
Date: 09/17/2000 22:41:39
On Mon, 18 Sep 2000, Hubert Feyrer wrote:

: Makes me wonder what happens if you compile with -Dinline= ...

Try "-fno-inline" as a better test of that.  However, turning off all
inlines is probably not a good idea, as it has some (likely unexpected)
impact on some core functionality--see <mips/pte.h>, <pmax/bus.h>.

If you really want a smaller kernel that doesn't sacrifice too much for
speed, try using "-O2 -Os" as the optimization options.

-- Todd Vierling <>  *
-- Speed, stability, security, and support.  Wasabi NetBSD:  Run with it.