All of lore.kernel.org
 help / color / mirror / Atom feed
* Multiple instances of program sharing same text segment ?
@ 2007-03-20 17:47 Ravinandan Arakali (rarakali)
  2007-03-20 18:12 ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 4+ messages in thread
From: Ravinandan Arakali (rarakali) @ 2007-03-20 17:47 UTC (permalink / raw)
  To: Linux Kernel

Hi,
We have multiple instances of the same executable running on our system.
Do these instances share the text segment or are there multiple copies
of the text segment(one for each process) ? Note that I am not talking
about the shared libraries.
I note that do_exec calls do_mmap to map the executable file to memory.
But not sure what happens(w.r.t text sharing) when another instance of 
the program is invoked. BTW, this is 2.6.10.

Thanks,
Ravi

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-20 19:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-20 17:47 Multiple instances of program sharing same text segment ? Ravinandan Arakali (rarakali)
2007-03-20 18:12 ` Jeremy Fitzhardinge
2007-03-20 18:22   ` Ravinandan Arakali (rarakali)
2007-03-20 19:40   ` Jeffrey Hundstad

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.