From owner-cvs-src@FreeBSD.ORG Tue Jul 22 18:07:47 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03A8C37B401; Tue, 22 Jul 2003 18:07:47 -0700 (PDT) Received: from smtp1.server.rpi.edu (smtp1.server.rpi.edu [128.113.2.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E39443F3F; Tue, 22 Jul 2003 18:07:46 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp1.server.rpi.edu (8.12.9/8.12.9) with ESMTP id h6N17i9t012551; Tue, 22 Jul 2003 21:07:44 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20030723003212.1606C2A8B2@canning.wemm.org> References: <20030723003212.1606C2A8B2@canning.wemm.org> Date: Tue, 22 Jul 2003 21:07:42 -0400 To: Peter Wemm From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/kern init_main.c kern_malloc.c md5c.c subr_autoconf.c subr_mbuf.c subr_prf.c tty_subr.c vfs_cluster.c vfs_subr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 01:07:47 -0000 At 5:32 PM -0700 7/22/03, Peter Wemm wrote: > >Take the i386 interrupt vector code. Thats an example where >it is massively inlined. Having a non-inlined function that >does all the calculations and bit shifting is much smaller >in code size, but slower at runtime. If I understand this discussion correctly, then the previous version of gcc (in freebsd-current) was NOT inlining these sections event though we thought it was. Might we expect some performance improvements now that we know to force gcc to inline the functions? -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu