Subject: Re: Enhancing sysctl support in ld.elf_so
To: Quentin Garnier <netbsd@quatriemek.com>
From: Matt Thomas <matt@3am-software.com>
List: tech-userlevel
Date: 06/20/2004 15:37:40
At 12:10 PM 6/20/2004, Quentin Garnier wrote:
>Le Sun, 20 Jun 2004 19:47:02 +0200 (CEST)
>Jaromir Dolecek a ecrit :
> > Quentin Garnier wrote:
> > -- Start of PGP signed section.
> > > Hi,
> > >
> > > I made a patch to make ld.elf_so use the new sysctl API instead of the
> > > limited functionality it has now.
> > >
> > > It's handy, but adds 12k to ld.elf_so.
> > >
> > > Comments?
> >
> > What new features are provided by the new code, besides
> > using the new sysctl API (which is irrelevant) ?
>
>It allows the use of any sysctl variable in /etc/ld.so.conf.  I can't say
>it is a must have, but it's clearly handy in some case, such as with
>third-party libraries and such that would depend on specific features of
>the kernel.
>
>That's why I ask if those 12k are worth the feature, but nobody commented
>on that yet.

It isn't the 12K that bothers me, it's whether it slows down ld.elf_so
at all.  So, does it slow it down?  I assume the sysctlmib is only
initialized if needed, right??


-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this message.