From owner-cvs-all Mon Oct 8 9:47:50 2001 Delivered-To: cvs-all@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id 66FB337B405; Mon, 8 Oct 2001 09:47:41 -0700 (PDT) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f98GlfM73548; Mon, 8 Oct 2001 09:47:41 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 23D08380F; Mon, 8 Oct 2001 09:47:41 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Garrett Wollman Cc: Makoto MATSUSHITA , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/release/i386 dokern.sh In-Reply-To: <200110080343.f983htL29456@khavrinen.lcs.mit.edu> Date: Mon, 08 Oct 2001 09:47:41 -0700 From: Peter Wemm Message-Id: <20011008164741.23D08380F@overcee.netplex.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Garrett Wollman wrote: > < said: > > > mlx, and twe drivers out from the installation kernel to modules. As > > a result, we get 88 kbytes of space in kern.flp but lost 196 kbytes in > > mfsroot.flp. Here is a detail. > > I found that it helps a lot if you link the modules together into a > single kld (amortizing the overhead of the linker metadata over > multiple modules). Just take the *.kld (NOT *.ko) from the object > directories and link them together with `ld -Bshareable'. Exactly! The ability to do this is why we use *.kld as an intermediate step and why kldxref etc exist. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message