From owner-freebsd-hackers Sun Jul 14 13:51:39 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA18604 for hackers-outgoing; Sun, 14 Jul 1996 13:51:39 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA18574 for ; Sun, 14 Jul 1996 13:51:29 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id WAA25346; Sun, 14 Jul 1996 22:50:54 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id WAA26201; Sun, 14 Jul 1996 22:50:53 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id WAA12569; Sun, 14 Jul 1996 22:38:26 +0200 (MET DST) From: J Wunsch Message-Id: <199607142038.WAA12569@uriah.heep.sax.de> Subject: Re: Preach it (was Some recent changes to GENERIC) To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Sun, 14 Jul 1996 22:38:26 +0200 (MET DST) Cc: jonny@gaia.coppe.ufrj.br Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199607141947.OAA10414@dyson.iquest.net> from "John S. Dyson" at "Jul 14, 96 02:47:45 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)