Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Oct 2001 09:47:41 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        Makoto MATSUSHITA <matusita@jp.FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/release/i386 dokern.sh 
Message-ID:  <20011008164741.23D08380F@overcee.netplex.com.au>
In-Reply-To: <200110080343.f983htL29456@khavrinen.lcs.mit.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Wollman wrote:
> <<On Sun, 07 Oct 2001 02:16:05 +0900, Makoto MATSUSHITA <matusita@jp.FreeBSD.
    org> 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




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