Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2003 18:53:59 -0500 (EST)
From:      dyson@iquest.net
To:        wollman@khavrinen.lcs.mit.edu (Garrett Wollman)
Cc:        current@freebsd.org
Subject:   Re: Unfortunate dynamic linking for everything
Message-ID:  <200311182353.hAINrxHo000780@dyson.jdyson.com>
In-Reply-To: <200311182319.hAINJ1Ae088335@khavrinen.lcs.mit.edu> from Garrett Wollman at "Nov 18, 2003 06:19:01 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Wollman said:
> <<On Tue, 18 Nov 2003 18:07:32 -0500 (EST), dyson@iquest.net said:
> 
> > If the object is to maximally 'share',
> 
> The object, AIUI, is for ~username expansion to work in the shells
> when the user stored somewhere defined by an external NSS module.  I
> don't believe that there is anything else in a (sane) shell that
> cares.
> 
It is a fallacy that EVERYTHING (e.g. libc) needs to be dynamically
linked to support that feature.  A single, self contained library
that might even be sparse WRT memory isn't going to hurt much.

A compromise that supports both a 'feature' and performance
seems to be appropriate.  Making everything shared (with
the sparse allocation of .data, and .text somewhat) to implement
a specific feature is certainly wasteful.

All or nothing isn't the optimal answer here.

John



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