sharing of process code segment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

i had a doubt regarding a process's code segment in memory.
suppose i execute 2 instances of an app. prog. (say 2 apache web
server's from two diff. terminal sessions on the same machine),
will the code segment of these two processes be shared? I think
they will be....

now supposing if i change the binary image of the executable, then
how does the kernel figure out that the binary has changed and it
should be reloaded for any new invocations of this program.

TIA,
-mandeep

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux