Re: Memory Lay out - shared library

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

 



On 4/8/06, Sumit Sahu <sumit.sahu.iitg@xxxxxxxxx> wrote:
Basically, ld.so calls mmap system call to memory map the shared
library file.  Now if one process had already mapped the library, when
another process wants to use the same library, the mmap syscall (which
is called by ld.so for the second process) takes care of determing
that the shared library file had already been mapped earlier and thus
to not load it again.

This is the way mmap works in the first place.
--
c u

./hareesh

[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