two virtual address pointing to same physical address

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Mon May 19 09:11:56 EDT 2014


On Mon, 19 May 2014 11:47:23 -0000, Chan Kim said:

> Is this situation normal? (in the kernel, two different virtual addresses
> pointing to the same physical address.)

Think for a bit how shared libraries are implemented. Then think about how
mmap() of a shared region of a file at different virtual addresses in different
processes works.  Then you'll be able to answer your own question...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140519/de27ffbb/attachment-0001.bin 


More information about the Kernelnewbies mailing list