Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 1996 22:38:26 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        jonny@gaia.coppe.ufrj.br
Subject:   Re: Preach it (was Some recent changes to GENERIC)
Message-ID:  <199607142038.WAA12569@uriah.heep.sax.de>
In-Reply-To: <199607141947.OAA10414@dyson.iquest.net> from "John S. Dyson" at "Jul 14, 96 02:47:45 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As John S. Dyson wrote:

> > > The prime single offending object files by size are syscons.o, pmap.o,
> > > and userconfig.o.

> If I remove all __inlines in pmap.c, I can save about 3K.  Maybe we
> should/shoundn't have a "SMALL_KERNEL" option?

Hmm, maybe.  I think, conditionalizing __inline's should be simple by
using INLINE, and #define it accordingly.  This would at least allow
to examine the difference in code size and performance.

Anyway, pmap.o was just one of the biggest single files (it's about 14
KB now), but the surprising effect of looking at the size figures is
that the size is really summed up of numerous not-so-large files,
where you wouldn't even get the idea that it will get up to 400 KB
when looking at their sizes.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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