[PATCH] Re: Plugable passdb (SAM) modules

Andrew Bartlett abartlet at pcug.org.au
Thu Jan 24 04:52:03 GMT 2002


Andreas Moroder wrote:
> 
> Hello Andrew,
> 
> you wrote
> > Incorrect.  The whole of smbd's executable image is shared betwen all
> > processes running smbd.  Furthermore, all data structures that exist at
> > fork() time (on linux in particular) only once until they are modified.
> 
> I know i am a little out of topic.
> What you wrote is correct but  .Data segments are not shared, because they are
> writable. Why aren't all the structures that contain constant data defined as
> const ?
> 
> I did post a patch months ago that was never applied . With few changes the
> memory usage could be shrinked by many Kb's

I applied your patch to HEAD.  If you have any similar patches, feel
free to send them along.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba-technical mailing list