[PATCH] Re: Plugable passdb (SAM) modules

Andreas Moroder andreas.moroder at sb-brixen.it
Thu Jan 24 04:14:04 GMT 2002

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



Dr. Andreas Moroder
Sanitätsbetrieb Brixen - Azienda Sanitaria di Bressanone
   www.sb-brixen.it    -      www.as-bressanone.it

More information about the samba-technical mailing list