> In response to the original post: The kernel's ELF linker/loader for
> executables will share the text and read-only segments for static
> executables.
Thanks, this is what I was looking for - I kind of thought it worked that
way but just wanted to check, (because if not I am wasting a lot of
> If I have an executable which is staticly linked with many copies
> of it running (a CGI script in fact), will all those copies share
> the text segment of the executable on the disc, or will it actually
> use up real memory resource with many copies of the executable ? I
> have been assuming th
Jeremy Chadwick wrote:
This reminds me: it sure would be useful if we had something like
Solaris's pmap(1) on FreeBSD.
In response to the original post: The kernel's ELF linker/loader for
executables will share the text and read-only segments for static
executables.
We already have someth
Jeremy Chadwick wrote:
> Pete French wrote:
> > If I have an executable which is staticly linked with many copies
> > of it running (a CGI script in fact), will all those copies share
> > the text segment of the executable on the disc, or will it actually
> > use up real memory resource with m
On Tue, Aug 14, 2007 at 03:31:04PM +0100, Pete French wrote:
> If I have an executable which is staticly linked with many copies
> of it running (a CGI script in fact), will all those copies share
> the text segment of the executable on the disc, or will it actually
> use up real memory resource wi
If I have an executable which is staticly linked with many copies
of it running (a CGI script in fact), will all those copies share
the text segment of the executable on the disc, or will it actually
use up real memory resource with many copies of the executable ? I
have been assuming the former, b