svn commit: samba r12544 - branches/SAMBA_3_0/source/nsswitch branches/SAMBA_3_0/source/utils trunk/source/nsswitch trunk/source/utils

Jeremy Allison jra at samba.org
Wed Dec 28 23:07:38 GMT 2005


On Wed, Dec 28, 2005 at 10:37:41PM +0100, Volker Lendecke wrote:
> On Wed, Dec 28, 2005 at 01:15:21PM -0800, Jeremy Allison wrote:
> > Sorry - thought that was already being initialized.
> > 
> > Thanks for the fix.
> 
> I also thought about converting the tables to static initializers. It's an
> additional 256k per binary and per differently run program. For normal
> operation that's smbd, nmbd and winbind that don't share the tables, adding up
> to .5 Meg more footprint. But we are sure then we always have them.
> 
> What do you think?

Hmmm. Dunno - let me think about it (bedtime here now :-). We currently
just mmap them. I wish there were a nice way to force initialization on
startup without having to do a function call to check lazy initialization.

Jeremy.


More information about the samba-technical mailing list